diff options
Diffstat (limited to 'apps/encryption/tests/Hooks/UserHooksTest.php')
-rw-r--r-- | apps/encryption/tests/Hooks/UserHooksTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/Hooks/UserHooksTest.php b/apps/encryption/tests/Hooks/UserHooksTest.php index 4d35d546317..53548c7ccd8 100644 --- a/apps/encryption/tests/Hooks/UserHooksTest.php +++ b/apps/encryption/tests/Hooks/UserHooksTest.php @@ -307,7 +307,7 @@ class UserHooksTest extends TestCase { ->disableOriginalConstructor() ->getMock(); - $userSessionMock->expects($this->any())->method('getUser')->will($this->returnValue(null)); + $userSessionMock->expects($this->any())->method('getUser')->willReturn(null); $this->recoveryMock->expects($this->once()) ->method('isRecoveryEnabledForUser') |