From 2deae4b0588e5b5a80349daa10f1dae3faccfa00 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 27 Mar 2020 13:22:16 +0100 Subject: [PATCH] Rename API tests for more consistency I could not come up with a noun for the new "UpdateTest" for users, so this is easier in terms of consistency. --- .../api/discussions/{CreationTest.php => CreateTest.php} | 2 +- .../integration/api/groups/{CreationTest.php => CreateTest.php} | 2 +- .../integration/api/posts/{CreationTest.php => CreateTest.php} | 2 +- .../integration/api/users/{CreationTest.php => CreateTest.php} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename framework/core/tests/integration/api/discussions/{CreationTest.php => CreateTest.php} (99%) rename framework/core/tests/integration/api/groups/{CreationTest.php => CreateTest.php} (98%) rename framework/core/tests/integration/api/posts/{CreationTest.php => CreateTest.php} (98%) rename framework/core/tests/integration/api/users/{CreationTest.php => CreateTest.php} (99%) diff --git a/framework/core/tests/integration/api/discussions/CreationTest.php b/framework/core/tests/integration/api/discussions/CreateTest.php similarity index 99% rename from framework/core/tests/integration/api/discussions/CreationTest.php rename to framework/core/tests/integration/api/discussions/CreateTest.php index 6ebc26424..a711847f1 100644 --- a/framework/core/tests/integration/api/discussions/CreationTest.php +++ b/framework/core/tests/integration/api/discussions/CreateTest.php @@ -14,7 +14,7 @@ use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; use Illuminate\Support\Arr; -class CreationTest extends TestCase +class CreateTest extends TestCase { use RetrievesAuthorizedUsers; diff --git a/framework/core/tests/integration/api/groups/CreationTest.php b/framework/core/tests/integration/api/groups/CreateTest.php similarity index 98% rename from framework/core/tests/integration/api/groups/CreationTest.php rename to framework/core/tests/integration/api/groups/CreateTest.php index d62371f59..03fbeda79 100644 --- a/framework/core/tests/integration/api/groups/CreationTest.php +++ b/framework/core/tests/integration/api/groups/CreateTest.php @@ -14,7 +14,7 @@ use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; use Illuminate\Support\Arr; -class CreationTest extends TestCase +class CreateTest extends TestCase { use RetrievesAuthorizedUsers; diff --git a/framework/core/tests/integration/api/posts/CreationTest.php b/framework/core/tests/integration/api/posts/CreateTest.php similarity index 98% rename from framework/core/tests/integration/api/posts/CreationTest.php rename to framework/core/tests/integration/api/posts/CreateTest.php index fa12dd946..a11f297cd 100644 --- a/framework/core/tests/integration/api/posts/CreationTest.php +++ b/framework/core/tests/integration/api/posts/CreateTest.php @@ -13,7 +13,7 @@ use Carbon\Carbon; use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; -class CreationTest extends TestCase +class CreateTest extends TestCase { use RetrievesAuthorizedUsers; diff --git a/framework/core/tests/integration/api/users/CreationTest.php b/framework/core/tests/integration/api/users/CreateTest.php similarity index 99% rename from framework/core/tests/integration/api/users/CreationTest.php rename to framework/core/tests/integration/api/users/CreateTest.php index 65351c0e6..3c35c096d 100644 --- a/framework/core/tests/integration/api/users/CreationTest.php +++ b/framework/core/tests/integration/api/users/CreateTest.php @@ -14,7 +14,7 @@ use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; use Flarum\User\User; -class CreationTest extends TestCase +class CreateTest extends TestCase { use RetrievesAuthorizedUsers;