Skip to content

Commit

Permalink
Disable test_Recover_RevertWhenUninstallModuleAndRecoverAgainWithKill…
Browse files Browse the repository at this point in the history
…Switch for non-default accounts
  • Loading branch information
SoraSuegami committed Nov 1, 2024
1 parent af011af commit 5c7a19b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ contract OwnableValidatorRecovery_EmailRecoveryModule_Integration_Test is

function test_Recover_RevertWhenUninstallModuleAndRecoverAgainWithKillSwitch() public {
skipIfCommandHandlerType(CommandHandlerType.SafeRecoveryCommandHandler);
if (isAccountTypeSafe()) {
string memory currentAccountType = vm.envOr("ACCOUNT_TYPE", string(""));
if (currentAccountType != "") {
vm.skip(true);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,10 @@ contract OwnableValidatorRecovery_UniversalEmailRecoveryModule_Integration_Test

function test_Recover_RevertWhenUninstallModuleAndRecoverAgainWithKillSwitch() public {
skipIfCommandHandlerType(CommandHandlerType.SafeRecoveryCommandHandler);
if (isAccountTypeSafe()) {
string memory currentAccountType = vm.envOr("ACCOUNT_TYPE", string(""));
if (currentAccountType != "") {
vm.skip(true);
}

executeRecoveryFlowForAccount(accountAddress1, guardians1, recoveryDataHash1, recoveryData1);
address updatedOwner1 = validator.owners(accountAddress1);
assertEq(updatedOwner1, newOwner1);
Expand Down

0 comments on commit 5c7a19b

Please sign in to comment.