diff options
Diffstat (limited to 'tests/app/Http/RequestHandlers/AccountEditTest.php')
| -rw-r--r-- | tests/app/Http/RequestHandlers/AccountEditTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/app/Http/RequestHandlers/AccountEditTest.php b/tests/app/Http/RequestHandlers/AccountEditTest.php index 08e0bcea28..57a6d43a9c 100644 --- a/tests/app/Http/RequestHandlers/AccountEditTest.php +++ b/tests/app/Http/RequestHandlers/AccountEditTest.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 @@ -42,12 +42,12 @@ class AccountEditTest extends TestCase */ public function testHandler(): void { - $user = $this->createMock(User::class); + $user = self::createMock(User::class); $handler = new AccountEdit(new MessageService(new EmailService(), new UserService()), new ModuleService()); $request = self::createRequest() ->withAttribute('user', $user); $response = $handler->handle($request); - $this->assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); + self::assertSame(StatusCodeInterface::STATUS_OK, $response->getStatusCode()); } } |
