Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
eloi010 committed Dec 18, 2023
1 parent 9a5b198 commit b497003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/foundry/core/managed/ManagedOpenfortAccountTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ contract ManagedOpenfortAccountTest is OpenfortBaseTest {
vm.expectRevert("Cannot register an expired session key");
// Register a session key valid from 10 to 20 at time 30, should fail.
ManagedOpenfortAccount(payable(accountAddress)).registerSessionKey(sessionKey, 10, 20, 100, emptyWhitelist);

vm.prank(openfortAdmin);
// Register a session key valid from 10 to 50 at time 30, should work.
ManagedOpenfortAccount(payable(accountAddress)).registerSessionKey(sessionKey, 10, 50, 100, emptyWhitelist);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ contract UpgradeableOpenfortAccountTest is OpenfortBaseTest {
vm.expectRevert("Cannot register an expired session key");
// Register a session key valid from 10 to 20 at time 30, should fail.
IBaseRecoverableAccount(payable(accountAddress)).registerSessionKey(sessionKey, 10, 20, 100, emptyWhitelist);

vm.prank(openfortAdmin);
// Register a session key valid from 10 to 50 at time 30, should work.
IBaseRecoverableAccount(payable(accountAddress)).registerSessionKey(sessionKey, 10, 50, 100, emptyWhitelist);
Expand Down

0 comments on commit b497003

Please sign in to comment.