Skip to content

Commit 3fa4b4e

Browse files
authored
⬇️ Lower amount in Pool Curve integration test (#1255)
1 parent e81b121 commit 3fa4b4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/poolExchanges.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { upgradeSuite } from './suite'
22
import { TrueFiPool__factory } from 'contracts'
33
import { expect, use } from 'chai'
44
import { solidity } from 'ethereum-waffle'
5+
import { parseUnits } from '@ethersproject/units'
56

67
use(solidity)
78

89
describe('Pool Curve integration', () => {
910
it('deposit TUSD to Curve', async () => {
1011
const pool = await upgradeSuite(TrueFiPool__factory, '0xa1e72267084192Db7387c8CC1328fadE470e4149', [])
11-
const tusdBalance = await pool.currencyBalance()
12-
await expect(pool.flush(tusdBalance)).to.be.not.reverted
12+
await expect(pool.flush(parseUnits('1000', 18))).to.be.not.reverted
1313
})
1414
})

0 commit comments

Comments
 (0)