diff --git a/test/curation.js b/test/curation.js index 7bf3fd6..271a33d 100644 --- a/test/curation.js +++ b/test/curation.js @@ -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) diff --git a/test/script.js b/test/script.js index da40527..b0c5119 100644 --- a/test/script.js +++ b/test/script.js @@ -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