diff options
Diffstat (limited to 'tests/app/Http/RequestHandlers/PasswordResetPageTest.php')
| -rw-r--r-- | tests/app/Http/RequestHandlers/PasswordResetPageTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/app/Http/RequestHandlers/PasswordResetPageTest.php b/tests/app/Http/RequestHandlers/PasswordResetPageTest.php index 3aad986c7e..c61e05dd74 100644 --- a/tests/app/Http/RequestHandlers/PasswordResetPageTest.php +++ b/tests/app/Http/RequestHandlers/PasswordResetPageTest.php @@ -2,7 +2,7 @@ /** * webtrees: online genealogy - * Copyright (C) 2019 webtrees development team + * Copyright (C) 2020 webtrees development team * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or @@ -35,11 +35,11 @@ class PasswordResetPageTest extends TestCase */ public function testPasswordResetPageWithValidToken(): void { - $user = $this->createMock(User::class); + $user = self::createMock(User::class); - $user_service = $this->createMock(UserService::class); + $user_service = self::createMock(UserService::class); $user_service - ->expects($this->once()) + ->expects(self::once()) ->method('findByToken') ->with('1234') ->willReturn($user); @@ -57,9 +57,9 @@ class PasswordResetPageTest extends TestCase */ public function testPasswordResetPageWithoutValidToken(): void { - $user_service = $this->createMock(UserService::class); + $user_service = self::createMock(UserService::class); $user_service - ->expects($this->once()) + ->expects(self::once()) ->method('findByToken') ->with('4321') ->willReturn(null); |
