From 31d24bb2360bc748ce8a213962c96c3612b01eff Mon Sep 17 00:00:00 2001 From: DhairyaSethi <55102840+DhairyaSethi@users.noreply.github.com> Date: Fri, 1 Sep 2023 14:40:28 +0530 Subject: [PATCH] chore: test for allowance --- test/DefaultInflationManager.t.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/DefaultInflationManager.t.sol b/test/DefaultInflationManager.t.sol index acf2c1e..d7c251f 100644 --- a/test/DefaultInflationManager.t.sol +++ b/test/DefaultInflationManager.t.sol @@ -82,6 +82,12 @@ contract DefaultInflationManagerTest is Test { assertEq(inflationManager.stakeManager(), stakeManager); assertEq(inflationManager.treasury(), treasury); assertEq(inflationManager.owner(), governance); + assertEq( + polygon.allowance(address(inflationManager), address(migration)), + type(uint256).max + ); + assertEq(inflationManager.START_SUPPLY(), 10_000_000_000e18); + assertEq(polygon.totalSupply(), 10_000_000_000e18); } function test_InvalidDeployment(uint256 seed) external {