From 9e179dcb7f85c6ada46de06025e4b17148180b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Fingen?= Date: Tue, 24 Jul 2018 18:53:21 +0200 Subject: [PATCH] Adapt to last changes in Registry app Registry app must now be initialized. --- test/curation.js | 1 + test/script.js | 1 + 2 files changed, 2 insertions(+) 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