From 131ac48afed2c90bd5d304c7ccc5cc5257de55cc Mon Sep 17 00:00:00 2001 From: Mikhail Melnik Date: Thu, 21 Nov 2024 16:13:32 +0400 Subject: [PATCH] fix last test --- test/Settlement.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Settlement.js b/test/Settlement.js index 850ce40..5a95570 100644 --- a/test/Settlement.js +++ b/test/Settlement.js @@ -674,19 +674,19 @@ describe('Settlement', function () { await expect(txn).to.changeTokenBalances(weth, [owner, alice], [ether('-0.12'), ether('0.12')]); }); - it.skip('set auctionDuration', async function () { + it('set auctionDuration', async function () { const dataFormFixture = await loadFixture(initContractsForSettlement); - const auction = await buildAuctionDetails({ startTime: (await time.latest()), duration: 900, initialRateBump: 1000000n }); + const auction = await buildAuctionDetails({ startTime: (await time.latest()) - 448, duration: 900, initialRateBump: 1000000n }); const setupData = { ...dataFormFixture, auction }; const { contracts: { dai, weth, resolver }, accounts: { owner, alice }, } = setupData; - await time.increaseTo(await time.latest() + 1); const fillOrderToData = await prepareSingleOrder({ setupData, + targetTakingAmount: ether('0.105'), }); const txn = await resolver.settleOrders(fillOrderToData);