diff options
Diffstat (limited to 'tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php')
-rw-r--r-- | tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php b/tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php index 8eb76d3cb27..0f4b83ff5ca 100644 --- a/tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php +++ b/tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php @@ -136,7 +136,7 @@ class AuthPublicShareControllerTest extends \Test\TestCase { $hashSet = false; $this->session ->method('set') - ->will($this->returnCallback(function($key, $value) use (&$tokenSet, &$hashSet) { + ->willReturnCallback(function($key, $value) use (&$tokenSet, &$hashSet) { if ($key === 'public_link_authenticated_token' && $value === 'token') { $tokenSet = true; return true; @@ -146,7 +146,7 @@ class AuthPublicShareControllerTest extends \Test\TestCase { return true; } return false; - })); + }); $this->urlGenerator->method('linkToRoute') ->willReturn('myLink!'); |