Skip to content

Commit 5d5aa64

Browse files
committed
test: use constant price
1 parent 68f2d7b commit 5d5aa64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/concrete/lockup/calculate-min-fee-wei-for/calculateMinFeeWeiFor.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ contract CalculateMinFeeWeiFor_Integration_Concrete_Test is Integration_Test {
2222
customFeeUSD: customFeeUSD
2323
});
2424

25-
uint256 expectedFeeWei = (1e18 * customFeeUSD) / 3000e8; // at $3000 per ETH
25+
uint256 expectedFeeWei = (1e18 * customFeeUSD) / ETH_PRICE_USD;
2626

2727
// It should return the custom fee in wei.
2828
assertEq(lockup.calculateMinFeeWei(ids.defaultStream), expectedFeeWei, "customFeeWei");

0 commit comments

Comments
 (0)