Skip to content

Commit

Permalink
fix: test to call correct updateRatioForReward
Browse files Browse the repository at this point in the history
  • Loading branch information
baroooo committed Nov 26, 2024
1 parent b4d73bf commit fc0edf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/goodDollar/GoodDollarExchangeProvider.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ contract GoodDollarExchangeProviderTest_updateRatioForReward is GoodDollarExchan

vm.expectRevert("New ratio must be greater than 0");
vm.prank(expansionControllerAddress);
exchangeProvider.updateRatioForReward(exchangeId, veryLargeReward);
exchangeProvider.updateRatioForReward(exchangeId, veryLargeReward, 1e8);
}

function test_updateRatioForReward_whenCallerIsNotExpansionController_shouldRevert() public {
Expand Down

0 comments on commit fc0edf6

Please sign in to comment.