Skip to content

Commit

Permalink
Update integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
MiksuJak committed May 23, 2024
1 parent ab8f5d1 commit ede92c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/truefi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,16 @@ describe('TrueFi', () => {
})

it('LinearDistributor', async () => {
await upgradeSuite(TEST_STATE_BLOCK_NUMBER, LinearTrueDistributor__factory, '0xfB8d918428373f766B352564b70d1DcC1e3b6383', [
'asset',
const contract = await upgradeSuite(TEST_STATE_BLOCK_NUMBER, LinearTrueDistributor__factory, '0xfB8d918428373f766B352564b70d1DcC1e3b6383', [
// 'trustToken', renamed to `asset`
'distributionStart',
'duration',
'totalAmount',
'lastDistribution',
'distributed',
'farm',
])
expect(await contract.asset()).to.eq('0x4C19596f5aAfF459fA38B0f7eD92F11AE6543784')
})

it('RatingAgencyV2Distributor', async () => {
Expand Down

0 comments on commit ede92c0

Please sign in to comment.