Skip to content

Commit

Permalink
Skipped disable scenario with issue tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Sep 21, 2021
1 parent 6031fd8 commit 0140fcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/features/bootstrap/OccContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,9 @@ public function theAdministratorRunsUpgradeRoutinesOnLocalServerUsingTheOccComma
* @return void
*/
public function theAdministratorRunsEncryptionDecryptAllUsingTheOccCommand() {
\system("sudo -u www-data ./occ encryption:decrypt-all -c yes", $status);
\system("echo 'admin' | sudo -S www-data ./occ encryption:decrypt-all -c yes", $status);
\var_dump($status);
\system("sudo -u www-data ./occ maintenance:mode --off");
\system("echo 'admin' | sudo -S www-data ./occ maintenance:mode --off");
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/cliEncryption/encryption.feature
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Feature: encryption command
Then the command should have failed with exit code 1
And the command output should contain the text "The system still have encrypted files. Please decrypt them all before disabling encryption."


@skipOnOcV10 @issue-encryption-303
Scenario: should be possible to disable encryption after decrypting all encrypted files
When the administrator runs encryption decrypt all using the occ command
And the administrator invokes occ command "encryption:disable"
Expand Down

0 comments on commit 0140fcb

Please sign in to comment.