From 55591077769a6920183d9b47d6cacc7359e5518d Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 6 Jan 2022 11:01:21 +0100 Subject: [PATCH] Changed namespace for database tests to ShlinkioDbTest --- composer.json | 6 ++---- .../Core/test-db/Domain/Repository/DomainRepositoryTest.php | 2 +- module/Core/test-db/Repository/ShortUrlRepositoryTest.php | 2 +- module/Core/test-db/Repository/TagRepositoryTest.php | 2 +- module/Core/test-db/Repository/VisitRepositoryTest.php | 2 +- .../Tag/Paginator/Adapter/TagsPaginatorAdapterTest.php | 2 +- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 643c658c..3b79c514 100644 --- a/composer.json +++ b/composer.json @@ -95,10 +95,8 @@ "ShlinkioTest\\Shlink\\CLI\\": "module/CLI/test", "ShlinkioTest\\Shlink\\Rest\\": "module/Rest/test", "ShlinkioApiTest\\Shlink\\Rest\\": "module/Rest/test-api", - "ShlinkioTest\\Shlink\\Core\\": [ - "module/Core/test", - "module/Core/test-db" - ] + "ShlinkioTest\\Shlink\\Core\\": "module/Core/test", + "ShlinkioDbTest\\Shlink\\Core\\": "module/Core/test-db" }, "files": [ "config/test/constants.php" diff --git a/module/Core/test-db/Domain/Repository/DomainRepositoryTest.php b/module/Core/test-db/Domain/Repository/DomainRepositoryTest.php index 382e58dd..b5ca98ea 100644 --- a/module/Core/test-db/Domain/Repository/DomainRepositoryTest.php +++ b/module/Core/test-db/Domain/Repository/DomainRepositoryTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace ShlinkioTest\Shlink\Core\Domain\Repository; +namespace ShlinkioDbTest\Shlink\Core\Domain\Repository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; diff --git a/module/Core/test-db/Repository/ShortUrlRepositoryTest.php b/module/Core/test-db/Repository/ShortUrlRepositoryTest.php index 8cb161d4..0001889b 100644 --- a/module/Core/test-db/Repository/ShortUrlRepositoryTest.php +++ b/module/Core/test-db/Repository/ShortUrlRepositoryTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace ShlinkioTest\Shlink\Core\Repository; +namespace ShlinkioDbTest\Shlink\Core\Repository; use Cake\Chronos\Chronos; use Doctrine\Common\Collections\ArrayCollection; diff --git a/module/Core/test-db/Repository/TagRepositoryTest.php b/module/Core/test-db/Repository/TagRepositoryTest.php index 156ec022..d8635b96 100644 --- a/module/Core/test-db/Repository/TagRepositoryTest.php +++ b/module/Core/test-db/Repository/TagRepositoryTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace ShlinkioTest\Shlink\Core\Repository; +namespace ShlinkioDbTest\Shlink\Core\Repository; use Shlinkio\Shlink\Core\Entity\Domain; use Shlinkio\Shlink\Core\Entity\ShortUrl; diff --git a/module/Core/test-db/Repository/VisitRepositoryTest.php b/module/Core/test-db/Repository/VisitRepositoryTest.php index c78583af..475cf374 100644 --- a/module/Core/test-db/Repository/VisitRepositoryTest.php +++ b/module/Core/test-db/Repository/VisitRepositoryTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace ShlinkioTest\Shlink\Core\Repository; +namespace ShlinkioDbTest\Shlink\Core\Repository; use Cake\Chronos\Chronos; use ReflectionObject; diff --git a/module/Core/test-db/Tag/Paginator/Adapter/TagsPaginatorAdapterTest.php b/module/Core/test-db/Tag/Paginator/Adapter/TagsPaginatorAdapterTest.php index e0835718..62d515ab 100644 --- a/module/Core/test-db/Tag/Paginator/Adapter/TagsPaginatorAdapterTest.php +++ b/module/Core/test-db/Tag/Paginator/Adapter/TagsPaginatorAdapterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace ShlinkioTest\Shlink\Core\Tag\Paginator\Adapter; +namespace ShlinkioDbTest\Shlink\Core\Tag\Paginator\Adapter; use Shlinkio\Shlink\Core\Entity\Tag; use Shlinkio\Shlink\Core\Repository\TagRepository;