From b615b9b756920babfdba504175c79654b536868a Mon Sep 17 00:00:00 2001 From: Drygin Date: Mon, 24 Jan 2022 18:25:17 +0300 Subject: [PATCH] fix tests --- test/full.test.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/full.test.js b/test/full.test.js index 15c3244..2203658 100644 --- a/test/full.test.js +++ b/test/full.test.js @@ -92,17 +92,15 @@ describe('TornadoPool', function () { }) it('should configure', async () => { - const { tornadoPool, amb } = await loadFixture(fixture) + const { tornadoPool, multisig } = await loadFixture(fixture) const newWithdrawalLimit = utils.parseEther('0.01337') const newDepositLimit = utils.parseEther('1337') - const { data } = await tornadoPool.populateTransaction.configureLimits( + await tornadoPool.connect(multisig).configureLimits( newWithdrawalLimit, newDepositLimit, ) - await amb.execute([{ who: tornadoPool.address, callData: data }]) - expect(await tornadoPool.maximumDepositAmount()).to.be.equal(newDepositLimit) expect(await tornadoPool.minimalWithdrawalAmount()).to.be.equal(newWithdrawalLimit) })