diff options
Diffstat (limited to 'apps/encryption/tests/Controller/StatusControllerTest.php')
-rw-r--r-- | apps/encryption/tests/Controller/StatusControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php index 8e217bfa473..f93be963989 100644 --- a/apps/encryption/tests/Controller/StatusControllerTest.php +++ b/apps/encryption/tests/Controller/StatusControllerTest.php @@ -63,9 +63,9 @@ class StatusControllerTest extends TestCase { ->disableOriginalConstructor()->getMock(); $this->l10nMock->expects($this->any()) ->method('t') - ->will($this->returnCallback(function($message) { + ->willReturnCallback(function($message) { return $message; - })); + }); $this->encryptionManagerMock = $this->createMock(IManager::class); $this->controller = new StatusController('encryptionTest', |