diff --git a/test/RaidGeld.t.sol b/test/RaidGeld.t.sol index d1f5d48..718ec9e 100644 --- a/test/RaidGeld.t.sol +++ b/test/RaidGeld.t.sol @@ -148,6 +148,7 @@ contract raid_geldTest is Test { // bought 1 moloch_denier raid_geld.addUnit(0, 1); + vm.warp(block.timestamp + 15); uint256 balance = raid_geld.balanceOf(player1); @@ -161,7 +162,7 @@ contract raid_geldTest is Test { assertLt(balance, newBalance); // After wait time passes raid should bring in profits again - vm.warp(block.timestamp + raid_geld.RAID_WAIT()); + vm.warp(block.timestamp + 15); raid_geld.raid(); // Balance should reflect that