diff options
Diffstat (limited to 'apps/encryption/tests/SessionTest.php')
-rw-r--r-- | apps/encryption/tests/SessionTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/tests/SessionTest.php b/apps/encryption/tests/SessionTest.php index 21de1ee971c..daa05b140da 100644 --- a/apps/encryption/tests/SessionTest.php +++ b/apps/encryption/tests/SessionTest.php @@ -204,15 +204,15 @@ class SessionTest extends TestCase { $this->sessionMock->expects($this->any()) ->method('set') - ->will($this->returnCallback([$this, "setValueTester"])); + ->willReturnCallback([$this, "setValueTester"]); $this->sessionMock->expects($this->any()) ->method('get') - ->will($this->returnCallback([$this, "getValueTester"])); + ->willReturnCallback([$this, "getValueTester"]); $this->sessionMock->expects($this->any()) ->method('remove') - ->will($this->returnCallback([$this, "removeValueTester"])); + ->willReturnCallback([$this, "removeValueTester"]); $this->instance = new Session($this->sessionMock); |