Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavinchee committed Mar 13, 2024
1 parent 726a14b commit a0623c7
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
poolAddress.toHexString(),
poolAdminAndDistributorAddress.toHexString(),
echo,
BigInt.fromI32(100), // requested amount
BigInt.fromI32(100), // actual amount
BigInt.fromI32(1000), // requested amount
BigInt.fromI32(1000), // actual amount
Bytes.fromHexString("0x")
);
firstDistributionEvent.block.timestamp = poolCreatedEvent.block.timestamp;
Expand All @@ -68,7 +68,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
"Pool",
poolAddress.toHexString(),
"totalAmountDistributedUntilUpdatedAt",
"100"
"1000"
);
assert.fieldEquals(
"Pool",
Expand Down Expand Up @@ -118,8 +118,8 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
poolAddress.toHexString(),
poolAdminAndDistributorAddress.toHexString(),
echo,
BigInt.fromI32(100), // requested amount
BigInt.fromI32(100), // actual amount
BigInt.fromI32(1000), // requested amount
BigInt.fromI32(1000), // actual amount
Bytes.fromHexString("0x")
);
secondDistributionEvent.block.timestamp = poolCreatedEvent.block.timestamp;
Expand All @@ -132,7 +132,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
"Pool",
poolAddress.toHexString(),
"totalAmountDistributedUntilUpdatedAt",
"200"
"2000"
);
assert.fieldEquals(
"Pool",
Expand Down Expand Up @@ -173,7 +173,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
"PoolMember",
bobId,
"totalAmountReceivedUntilUpdatedAt",
"50"
"500"
);
assert.fieldEquals(
"PoolMember",
Expand All @@ -200,7 +200,7 @@ describe("PoolMember ending up with wrong `totalAmountReceivedUntilUpdatedAt`",
"PoolMember",
aliceId,
"totalAmountReceivedUntilUpdatedAt",
"150"
"1500"
);
assert.fieldEquals(
"PoolMember",
Expand Down

0 comments on commit a0623c7

Please sign in to comment.