From 53fdde7a22506b553373b959952b97f0fd9b69c6 Mon Sep 17 00:00:00 2001 From: mmackz Date: Tue, 10 Sep 2024 18:08:48 -0700 Subject: [PATCH] test: add test for initial management fee value --- test/QuestBudget.t.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/QuestBudget.t.sol b/test/QuestBudget.t.sol index 95633d8f..b23675fe 100644 --- a/test/QuestBudget.t.sol +++ b/test/QuestBudget.t.sol @@ -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)