Skip to content

Commit

Permalink
test_RevertIf_UnstakeResultsInBalanceLowerThanMinStaked
Browse files Browse the repository at this point in the history
  • Loading branch information
anajuliabit committed Jul 8, 2024
1 parent 1583e3d commit 7ca7b2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Staking.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,8 @@ contract Unstake is StakingTest {
_stake(user, MIN_STAKE);
}

_mintGovToken(depositor, MIN_STAKE);
govToken.mint(depositor, MIN_STAKE);

_setKeyper(depositor, true);

uint256 stakeId = _stake(depositor, MIN_STAKE);
Expand Down

0 comments on commit 7ca7b2f

Please sign in to comment.