summaryrefslogtreecommitdiff
path: root/tests/app/Http/RequestHandlers/AccountDeleteTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Http/RequestHandlers/AccountDeleteTest.php')
-rw-r--r--tests/app/Http/RequestHandlers/AccountDeleteTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/app/Http/RequestHandlers/AccountDeleteTest.php b/tests/app/Http/RequestHandlers/AccountDeleteTest.php
index cbb8235dba..e257cd9dfa 100644
--- a/tests/app/Http/RequestHandlers/AccountDeleteTest.php
+++ b/tests/app/Http/RequestHandlers/AccountDeleteTest.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
@@ -36,11 +36,11 @@ class AccountDeleteTest extends TestCase
*/
public function testHandler(): void
{
- $user_service = $this->createMock(UserService::class);
+ $user_service = self::createMock(UserService::class);
$handler = new AccountDelete($user_service);
$request = self::createRequest();
$response = $handler->handle($request);
- $this->assertSame(StatusCodeInterface::STATUS_FOUND, $response->getStatusCode());
+ self::assertSame(StatusCodeInterface::STATUS_FOUND, $response->getStatusCode());
}
}