summaryrefslogtreecommitdiff
path: root/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Http/RequestHandlers/PasswordRequestPageTest.php')
-rw-r--r--tests/app/Http/RequestHandlers/PasswordRequestPageTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php b/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php
index 67ad4fc708..57388e29d1 100644
--- a/tests/app/Http/RequestHandlers/PasswordRequestPageTest.php
+++ b/tests/app/Http/RequestHandlers/PasswordRequestPageTest.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
@@ -45,7 +45,7 @@ class PasswordRequestPageTest extends TestCase
*/
public function testPasswordRequestPageAlreadyLoggedIn(): void
{
- $user = $this->createMock(User::class);
+ $user = self::createMock(User::class);
$request = self::createRequest()->withAttribute('user', $user);
$handler = new PasswordRequestPage();
$response = $handler->handle($request);