Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unit test when restorePossible set for masterkey
Browse files Browse the repository at this point in the history
Fix unit test when restorePossible is set for
masterkey encryption.

Signed-off-by: Sujith H <[email protected]>
sharidas committed Dec 5, 2019

Verified

This commit was signed with the committer’s verified signature.
IanButterworth Ian Butterworth
1 parent ba596e8 commit 79ae211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Settings/Controller/UsersControllerTest.php
Original file line number Diff line number Diff line change
@@ -1715,7 +1715,7 @@ public function testRestoreNotPossibleWithoutAdminRestore() {
)
->will($this->returnValue(true));

$expectedResult['isRestoreDisabled'] = true;
$expectedResult['isRestoreDisabled'] = false;

$subadmin = $this->getMockBuilder('\OC\SubAdmin')
->disableOriginalConstructor()

0 comments on commit 79ae211

Please sign in to comment.