Skip to content

Commit

Permalink
test: add test for initial management fee value
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz committed Sep 11, 2024
1 parent fae037a commit 53fdde7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/QuestBudget.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ contract QuestBudgetTest is Test, TestUtils, IERC1155Receiver {
assertEq(questBudget.available(address(mockERC1155), 42), 0);
}

function test_InitialManagementFee() public {
// Ensure the management fee is 0
assertEq(questBudget.managementFee(), 0);
}

function test_InitializerDisabled() public {
// Because the slot is private, we use `vm.load` to access it then parse out the bits:
// - [0] is the `initializing` flag (which should be 0 == false)
Expand Down

0 comments on commit 53fdde7

Please sign in to comment.