diff options
Diffstat (limited to 'tests/Core/Controller/ChangePasswordControllerTest.php')
-rw-r--r-- | tests/Core/Controller/ChangePasswordControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/ChangePasswordControllerTest.php b/tests/Core/Controller/ChangePasswordControllerTest.php index a55b0bc232e..175628552bc 100644 --- a/tests/Core/Controller/ChangePasswordControllerTest.php +++ b/tests/Core/Controller/ChangePasswordControllerTest.php @@ -57,7 +57,7 @@ class ChangePasswordControllerTest extends \Test\TestCase { $this->groupManager = $this->createMock(\OC\Group\Manager::class); $this->appManager = $this->createMock(IAppManager::class); $this->l = $this->createMock(IL10N::class); - $this->l->method('t')->will($this->returnArgument(0)); + $this->l->method('t')->willReturnArgument(0); /** @var IRequest|\PHPUnit_Framework_MockObject_MockObject $request */ $request = $this->createMock(IRequest::class); |