Skip to content

Commit

Permalink
Adapt to last changes in Registry app
Browse files Browse the repository at this point in the history
Registry app must now be initialized.
  • Loading branch information
bingen committed Jul 24, 2018
1 parent 3e0a007 commit 9e179dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/curation.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ contract('Curation', ([owner, applicant, challenger, voter, _]) => {

beforeEach(async () => {
registry = await getContract('RegistryApp').new()
await registry.initialize()
staking = await getContract('StakingMock').new()
voting = await getContract('VotingMock').new()
await voting.setVoteId(voteId)
Expand Down
1 change: 1 addition & 0 deletions test/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ contract('Curation', ([owner, applicant, challenger, voter, _]) => {

beforeEach(async () => {
registry = await getContract('RegistryApp').new()
await registry.initialize()
staking = await getContract('StakingMock').new()

// DAO
Expand Down

0 comments on commit 9e179dc

Please sign in to comment.