typos fixes in the tests; just function name and change startPrank to prank
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
b8a11ee3c1
commit
5b8eb6c6ee
@ -310,7 +310,7 @@ contract GhostBondDepositoryTest is Test {
|
||||
depository.deposit(0, amount, INITIAL_PRICE, ALICE, ALICE);
|
||||
}
|
||||
|
||||
function test_shouldNotRedeemAfterVested() public {
|
||||
function test_shouldNotRedeemImmediately() public {
|
||||
uint256 balance = ftso.balanceOf(ALICE);
|
||||
uint256 amount = 10_000 * 1e18; // 10,000
|
||||
vm.startPrank(ALICE);
|
||||
@ -329,9 +329,9 @@ contract GhostBondDepositoryTest is Test {
|
||||
staking.setWarmupPeriod(1);
|
||||
vm.stopPrank();
|
||||
|
||||
vm.startPrank(ALICE);
|
||||
vm.prank(ALICE);
|
||||
depository.deposit(0, amount, type(uint256).max, ALICE, ALICE);
|
||||
vm.startPrank(BOB);
|
||||
vm.prank(BOB);
|
||||
depository.deposit(0, amount, type(uint256).max, BOB, BOB);
|
||||
|
||||
skip(DEPOSIT_INTERVAL);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user