diff --git a/test/bonding/BondDepositorty.t.sol b/test/bonding/BondDepositorty.t.sol index b49a4ce..0f9deff 100644 --- a/test/bonding/BondDepositorty.t.sol +++ b/test/bonding/BondDepositorty.t.sol @@ -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);