forked from mico/idle_moloch
Fixes broken test
This commit is contained in:
parent
203ebd3e97
commit
fefa2641e4
@ -148,6 +148,7 @@ contract raid_geldTest is Test {
|
|||||||
|
|
||||||
// bought 1 moloch_denier
|
// bought 1 moloch_denier
|
||||||
raid_geld.addUnit(0, 1);
|
raid_geld.addUnit(0, 1);
|
||||||
|
vm.warp(block.timestamp + 15);
|
||||||
|
|
||||||
uint256 balance = raid_geld.balanceOf(player1);
|
uint256 balance = raid_geld.balanceOf(player1);
|
||||||
|
|
||||||
@ -161,7 +162,7 @@ contract raid_geldTest is Test {
|
|||||||
assertLt(balance, newBalance);
|
assertLt(balance, newBalance);
|
||||||
|
|
||||||
// After wait time passes raid should bring in profits again
|
// 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();
|
raid_geld.raid();
|
||||||
|
|
||||||
// Balance should reflect that
|
// Balance should reflect that
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user