From 79ae211186a8be7f10fb8f606cb7b52ff7a0845e Mon Sep 17 00:00:00 2001 From: Sujith H Date: Thu, 5 Dec 2019 13:48:51 +0530 Subject: [PATCH] Fix unit test when restorePossible set for masterkey Fix unit test when restorePossible is set for masterkey encryption. Signed-off-by: Sujith H --- tests/Settings/Controller/UsersControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Settings/Controller/UsersControllerTest.php b/tests/Settings/Controller/UsersControllerTest.php index 289802cab7d7..9b8f830428f5 100644 --- a/tests/Settings/Controller/UsersControllerTest.php +++ b/tests/Settings/Controller/UsersControllerTest.php @@ -1715,7 +1715,7 @@ public function testRestoreNotPossibleWithoutAdminRestore() { ) ->will($this->returnValue(true)); - $expectedResult['isRestoreDisabled'] = true; + $expectedResult['isRestoreDisabled'] = false; $subadmin = $this->getMockBuilder('\OC\SubAdmin') ->disableOriginalConstructor()