From 927fb51313f7aee129f51786177dd30b5f742cd4 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 24 Jan 2021 09:25:36 +0100 Subject: [PATCH] Removed Action sufix from API tests --- .../{CreateShortUrlActionTest.php => CreateShortUrlTest.php} | 2 +- .../{DeleteShortUrlActionTest.php => DeleteShortUrlTest.php} | 2 +- ...{EditShortUrlTagsActionTest.php => EditShortUrlTagsTest.php} | 2 +- .../Action/{EditShortUrlActionTest.php => EditShortUrlTest.php} | 2 +- .../Action/{GlobalVisitsActionTest.php => GlobalVisitsTest.php} | 2 +- .../Action/{ListTagsActionTest.php => ListTagsTest.php} | 2 +- .../{ResolveShortUrlActionTest.php => ResolveShortUrlTest.php} | 2 +- .../{ShortUrlVisitsActionTest.php => ShortUrlVisitsTest.php} | 2 +- .../Action/{TagVisitsActionTest.php => TagVisitsTest.php} | 2 +- .../Action/{UpdateTagActionTest.php => UpdateTagTest.php} | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) rename module/Rest/test-api/Action/{CreateShortUrlActionTest.php => CreateShortUrlTest.php} (99%) rename module/Rest/test-api/Action/{DeleteShortUrlActionTest.php => DeleteShortUrlTest.php} (98%) rename module/Rest/test-api/Action/{EditShortUrlTagsActionTest.php => EditShortUrlTagsTest.php} (98%) rename module/Rest/test-api/Action/{EditShortUrlActionTest.php => EditShortUrlTest.php} (99%) rename module/Rest/test-api/Action/{GlobalVisitsActionTest.php => GlobalVisitsTest.php} (94%) rename module/Rest/test-api/Action/{ListTagsActionTest.php => ListTagsTest.php} (98%) rename module/Rest/test-api/Action/{ResolveShortUrlActionTest.php => ResolveShortUrlTest.php} (97%) rename module/Rest/test-api/Action/{ShortUrlVisitsActionTest.php => ShortUrlVisitsTest.php} (97%) rename module/Rest/test-api/Action/{TagVisitsActionTest.php => TagVisitsTest.php} (98%) rename module/Rest/test-api/Action/{UpdateTagActionTest.php => UpdateTagTest.php} (98%) diff --git a/module/Rest/test-api/Action/CreateShortUrlActionTest.php b/module/Rest/test-api/Action/CreateShortUrlTest.php similarity index 99% rename from module/Rest/test-api/Action/CreateShortUrlActionTest.php rename to module/Rest/test-api/Action/CreateShortUrlTest.php index 5e388b0d..60cffddd 100644 --- a/module/Rest/test-api/Action/CreateShortUrlActionTest.php +++ b/module/Rest/test-api/Action/CreateShortUrlTest.php @@ -12,7 +12,7 @@ use function Functional\map; use function range; use function sprintf; -class CreateShortUrlActionTest extends ApiTestCase +class CreateShortUrlTest extends ApiTestCase { /** @test */ public function createsNewShortUrlWhenOnlyLongUrlIsProvided(): void diff --git a/module/Rest/test-api/Action/DeleteShortUrlActionTest.php b/module/Rest/test-api/Action/DeleteShortUrlTest.php similarity index 98% rename from module/Rest/test-api/Action/DeleteShortUrlActionTest.php rename to module/Rest/test-api/Action/DeleteShortUrlTest.php index 76968cbd..360287ec 100644 --- a/module/Rest/test-api/Action/DeleteShortUrlActionTest.php +++ b/module/Rest/test-api/Action/DeleteShortUrlTest.php @@ -7,7 +7,7 @@ namespace ShlinkioApiTest\Shlink\Rest\Action; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; use ShlinkioApiTest\Shlink\Rest\Utils\NotFoundUrlHelpersTrait; -class DeleteShortUrlActionTest extends ApiTestCase +class DeleteShortUrlTest extends ApiTestCase { use NotFoundUrlHelpersTrait; diff --git a/module/Rest/test-api/Action/EditShortUrlTagsActionTest.php b/module/Rest/test-api/Action/EditShortUrlTagsTest.php similarity index 98% rename from module/Rest/test-api/Action/EditShortUrlTagsActionTest.php rename to module/Rest/test-api/Action/EditShortUrlTagsTest.php index 7fe45c73..f016882b 100644 --- a/module/Rest/test-api/Action/EditShortUrlTagsActionTest.php +++ b/module/Rest/test-api/Action/EditShortUrlTagsTest.php @@ -8,7 +8,7 @@ use GuzzleHttp\RequestOptions; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; use ShlinkioApiTest\Shlink\Rest\Utils\NotFoundUrlHelpersTrait; -class EditShortUrlTagsActionTest extends ApiTestCase +class EditShortUrlTagsTest extends ApiTestCase { use NotFoundUrlHelpersTrait; diff --git a/module/Rest/test-api/Action/EditShortUrlActionTest.php b/module/Rest/test-api/Action/EditShortUrlTest.php similarity index 99% rename from module/Rest/test-api/Action/EditShortUrlActionTest.php rename to module/Rest/test-api/Action/EditShortUrlTest.php index a909130a..84612b0f 100644 --- a/module/Rest/test-api/Action/EditShortUrlActionTest.php +++ b/module/Rest/test-api/Action/EditShortUrlTest.php @@ -14,7 +14,7 @@ use ShlinkioApiTest\Shlink\Rest\Utils\NotFoundUrlHelpersTrait; use function GuzzleHttp\Psr7\build_query; use function sprintf; -class EditShortUrlActionTest extends ApiTestCase +class EditShortUrlTest extends ApiTestCase { use ArraySubsetAsserts; use NotFoundUrlHelpersTrait; diff --git a/module/Rest/test-api/Action/GlobalVisitsActionTest.php b/module/Rest/test-api/Action/GlobalVisitsTest.php similarity index 94% rename from module/Rest/test-api/Action/GlobalVisitsActionTest.php rename to module/Rest/test-api/Action/GlobalVisitsTest.php index 9c09da10..99e05918 100644 --- a/module/Rest/test-api/Action/GlobalVisitsActionTest.php +++ b/module/Rest/test-api/Action/GlobalVisitsTest.php @@ -6,7 +6,7 @@ namespace ShlinkioApiTest\Shlink\Rest\Action; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; -class GlobalVisitsActionTest extends ApiTestCase +class GlobalVisitsTest extends ApiTestCase { /** * @test diff --git a/module/Rest/test-api/Action/ListTagsActionTest.php b/module/Rest/test-api/Action/ListTagsTest.php similarity index 98% rename from module/Rest/test-api/Action/ListTagsActionTest.php rename to module/Rest/test-api/Action/ListTagsTest.php index 188e6bdf..d82a4f8e 100644 --- a/module/Rest/test-api/Action/ListTagsActionTest.php +++ b/module/Rest/test-api/Action/ListTagsTest.php @@ -7,7 +7,7 @@ namespace ShlinkioApiTest\Shlink\Rest\Action; use GuzzleHttp\RequestOptions; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; -class ListTagsActionTest extends ApiTestCase +class ListTagsTest extends ApiTestCase { /** * @test diff --git a/module/Rest/test-api/Action/ResolveShortUrlActionTest.php b/module/Rest/test-api/Action/ResolveShortUrlTest.php similarity index 97% rename from module/Rest/test-api/Action/ResolveShortUrlActionTest.php rename to module/Rest/test-api/Action/ResolveShortUrlTest.php index 7996e459..d256a2ad 100644 --- a/module/Rest/test-api/Action/ResolveShortUrlActionTest.php +++ b/module/Rest/test-api/Action/ResolveShortUrlTest.php @@ -11,7 +11,7 @@ use ShlinkioApiTest\Shlink\Rest\Utils\NotFoundUrlHelpersTrait; use function sprintf; -class ResolveShortUrlActionTest extends ApiTestCase +class ResolveShortUrlTest extends ApiTestCase { use NotFoundUrlHelpersTrait; diff --git a/module/Rest/test-api/Action/ShortUrlVisitsActionTest.php b/module/Rest/test-api/Action/ShortUrlVisitsTest.php similarity index 97% rename from module/Rest/test-api/Action/ShortUrlVisitsActionTest.php rename to module/Rest/test-api/Action/ShortUrlVisitsTest.php index 22864108..c55f3a27 100644 --- a/module/Rest/test-api/Action/ShortUrlVisitsActionTest.php +++ b/module/Rest/test-api/Action/ShortUrlVisitsTest.php @@ -11,7 +11,7 @@ use ShlinkioApiTest\Shlink\Rest\Utils\NotFoundUrlHelpersTrait; use function GuzzleHttp\Psr7\build_query; use function sprintf; -class ShortUrlVisitsActionTest extends ApiTestCase +class ShortUrlVisitsTest extends ApiTestCase { use NotFoundUrlHelpersTrait; diff --git a/module/Rest/test-api/Action/TagVisitsActionTest.php b/module/Rest/test-api/Action/TagVisitsTest.php similarity index 98% rename from module/Rest/test-api/Action/TagVisitsActionTest.php rename to module/Rest/test-api/Action/TagVisitsTest.php index c1557bdd..b30b787f 100644 --- a/module/Rest/test-api/Action/TagVisitsActionTest.php +++ b/module/Rest/test-api/Action/TagVisitsTest.php @@ -8,7 +8,7 @@ use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; use function sprintf; -class TagVisitsActionTest extends ApiTestCase +class TagVisitsTest extends ApiTestCase { /** * @test diff --git a/module/Rest/test-api/Action/UpdateTagActionTest.php b/module/Rest/test-api/Action/UpdateTagTest.php similarity index 98% rename from module/Rest/test-api/Action/UpdateTagActionTest.php rename to module/Rest/test-api/Action/UpdateTagTest.php index de0b1594..262789d7 100644 --- a/module/Rest/test-api/Action/UpdateTagActionTest.php +++ b/module/Rest/test-api/Action/UpdateTagTest.php @@ -7,7 +7,7 @@ namespace ShlinkioApiTest\Shlink\Rest\Action; use GuzzleHttp\RequestOptions; use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase; -class UpdateTagActionTest extends ApiTestCase +class UpdateTagTest extends ApiTestCase { /** * @test