diff options
Diffstat (limited to 'apps/encryption/tests/Controller/SettingsControllerTest.php')
-rw-r--r-- | apps/encryption/tests/Controller/SettingsControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/tests/Controller/SettingsControllerTest.php b/apps/encryption/tests/Controller/SettingsControllerTest.php index 62c5ebf608c..c2f67478bb7 100644 --- a/apps/encryption/tests/Controller/SettingsControllerTest.php +++ b/apps/encryption/tests/Controller/SettingsControllerTest.php @@ -85,9 +85,9 @@ class SettingsControllerTest extends TestCase { $this->l10nMock->expects($this->any()) ->method('t') - ->will($this->returnCallback(function($message) { + ->willReturnCallback(function($message) { return $message; - })); + }); $this->userManagerMock = $this->getMockBuilder(IUserManager::class) ->disableOriginalConstructor()->getMock(); |