diff --git a/.github/workflows/guides.yml b/.github/workflows/guides.yml index b6d062c9d18..519707ff2b2 100644 --- a/.github/workflows/guides.yml +++ b/.github/workflows/guides.yml @@ -58,7 +58,7 @@ jobs: working-directory: docs env: APP_DEBUG: 0 - PDG_AUTOLOAD: ${{ github.workspace }}/docs/vendor/autoload.php + PDG_AUTOLOAD: ${{ github.workspace }}/docs/pdg-autoload.php KERNEL_CLASS: \ApiPlatform\Playground\Kernel run: | for d in guides/*.php; do diff --git a/composer.json b/composer.json index 97ad0fa2172..5ea130bcc9f 100644 --- a/composer.json +++ b/composer.json @@ -104,6 +104,7 @@ "api-platform/serializer": "self.version", "api-platform/state": "self.version", "api-platform/symfony": "self.version", + "api-platform/test": "self.version", "api-platform/validator": "self.version" }, "require": { diff --git a/docs/README.md b/docs/README.md index 4838d9994cb..0df716eabbe 100644 --- a/docs/README.md +++ b/docs/README.md @@ -28,6 +28,6 @@ Use `KERNEL_CLASS` and `PDG_AUTOLOAD` to run a guide: ``` APP_DEBUG=0 \ -PDG_AUTOLOAD='vendor/autoload.php' \ +PDG_AUTOLOAD='pdg-autoload.php' \ KERNEL_CLASS='\ApiPlatform\Playground\Kernel' pdg-phpunit guides/doctrine-search-filter.php ``` diff --git a/docs/guides/computed-field.php b/docs/guides/computed-field.php index 5eb987ccc65..df8cbbad192 100644 --- a/docs/guides/computed-field.php +++ b/docs/guides/computed-field.php @@ -285,7 +285,7 @@ public function up(Schema $schema): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class ComputedFieldTest extends ApiTestCase { diff --git a/docs/guides/create-a-custom-doctrine-filter.php b/docs/guides/create-a-custom-doctrine-filter.php index 6ed8bf31bac..a6f03bddabc 100644 --- a/docs/guides/create-a-custom-doctrine-filter.php +++ b/docs/guides/create-a-custom-doctrine-filter.php @@ -120,7 +120,7 @@ public function up(Schema $schema): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\Entity\Book; final class BookTest extends ApiTestCase diff --git a/docs/guides/custom-pagination.php b/docs/guides/custom-pagination.php index a83bac18724..7ed4a0181ae 100644 --- a/docs/guides/custom-pagination.php +++ b/docs/guides/custom-pagination.php @@ -147,7 +147,7 @@ public function load(ObjectManager $manager): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\Entity\Book; final class BookTest extends ApiTestCase diff --git a/docs/guides/doctrine-entity-as-resource.php b/docs/guides/doctrine-entity-as-resource.php index b6d2a3b88e4..6cf1aa1b8f6 100644 --- a/docs/guides/doctrine-entity-as-resource.php +++ b/docs/guides/doctrine-entity-as-resource.php @@ -89,7 +89,7 @@ public function load(ObjectManager $manager): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/guides/doctrine-search-filter.php b/docs/guides/doctrine-search-filter.php index bcf94c57336..e77084966d6 100644 --- a/docs/guides/doctrine-search-filter.php +++ b/docs/guides/doctrine-search-filter.php @@ -104,7 +104,7 @@ public function load(ObjectManager $manager): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\Entity\Book; final class BookTest extends ApiTestCase diff --git a/docs/guides/error-provider.php b/docs/guides/error-provider.php index e417904008b..dba39c8f38a 100644 --- a/docs/guides/error-provider.php +++ b/docs/guides/error-provider.php @@ -84,7 +84,7 @@ function configure(ContainerConfigurator $configurator): void namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/guides/error-resource.php b/docs/guides/error-resource.php index aee265e2831..866affaaf04 100644 --- a/docs/guides/error-resource.php +++ b/docs/guides/error-resource.php @@ -71,7 +71,7 @@ public static function provide(Operation $operation, array $uriVariables = [], a namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/guides/extend-openapi-documentation.php b/docs/guides/extend-openapi-documentation.php index 0f7c0a62d68..3e2227c22e8 100644 --- a/docs/guides/extend-openapi-documentation.php +++ b/docs/guides/extend-openapi-documentation.php @@ -48,7 +48,7 @@ class Book namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/guides/how-to.php b/docs/guides/how-to.php index 79aaa2a99c1..0d3aa856d34 100644 --- a/docs/guides/how-to.php +++ b/docs/guides/how-to.php @@ -124,7 +124,7 @@ function request(): Request namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\Entity\Book; final class BookTest extends ApiTestCase diff --git a/docs/guides/http-cache-tags.php b/docs/guides/http-cache-tags.php index 9fdc9e543d3..0dda04efc18 100644 --- a/docs/guides/http-cache-tags.php +++ b/docs/guides/http-cache-tags.php @@ -96,7 +96,7 @@ function request(): Request namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/guides/return-the-iri-of-your-resources-relations.php b/docs/guides/return-the-iri-of-your-resources-relations.php index 41fb3b779a9..8f27272ce71 100644 --- a/docs/guides/return-the-iri-of-your-resources-relations.php +++ b/docs/guides/return-the-iri-of-your-resources-relations.php @@ -173,7 +173,7 @@ function request(): Request } namespace App\Tests { - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\ApiResource\Brand; final class BrandTest extends ApiTestCase diff --git a/docs/guides/test-your-api.php b/docs/guides/test-your-api.php index c0fea83ace5..fe0849ac859 100644 --- a/docs/guides/test-your-api.php +++ b/docs/guides/test-your-api.php @@ -9,10 +9,10 @@ namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; use App\ApiResource\Book; - // API Platform [testing utilities](/docs/core/testing/) provides an [ApiTestCase](/docs/reference/Symfony/Bundle/Test/ApiTestCase/) + // API Platform [testing utilities](/docs/core/testing/) provides an [ApiTestCase](/docs/reference/Test/ApiTestCase/) // that allows you to send an HTTP Request, and to perform assertions on the Response. final class BookTest extends ApiTestCase { @@ -20,7 +20,7 @@ final class BookTest extends ApiTestCase public function testBookDoesNotExists(): void { - // For starters we can get an [HTTP Client](/docs/reference/Symfony/Bundle/Test/Client/) with the `createClient` method. + // For starters we can get an [HTTP Client](/docs/reference/Test/Client/) with the `createClient` method. $client = static::createClient(); // Then, issue an HTTP request via this client, as we didn't load any data we'd expect this to send a 404 Not found. $client->request(method: 'GET', url: '/books/1'); diff --git a/docs/guides/validate-incoming-data.php b/docs/guides/validate-incoming-data.php index afefd71189a..d7a81dbc60e 100644 --- a/docs/guides/validate-incoming-data.php +++ b/docs/guides/validate-incoming-data.php @@ -121,7 +121,7 @@ function request(): Request namespace App\Tests { use ApiPlatform\Playground\Test\TestGuideTrait; - use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; + use ApiPlatform\Test\ApiTestCase; final class BookTest extends ApiTestCase { diff --git a/docs/pdg-autoload.php b/docs/pdg-autoload.php new file mode 100644 index 00000000000..9a4e8e5a0ed --- /dev/null +++ b/docs/pdg-autoload.php @@ -0,0 +1,31 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +/* + * Autoloader used by pdg-phpunit to run the guides, see PDG_AUTOLOAD. + * + * ApiTestCase moved to the api-platform/test package, which the guides do not require: + * that package requires PHPUnit ^11.5 || ^12.2, while pdg-phpunit runs on the PHPUnit + * version installed here. Map the namespace on the monorepo sources instead. + * + * The pinned pdg-phpunit revision also hardcodes the pre-5.0 ApiTestCase FQCN in its own + * PlaygroundTestCase harness, hence the alias, which can go once pdg is updated. + */ + +/** @var Composer\Autoload\ClassLoader $loader */ +$loader = require __DIR__.'/vendor/autoload.php'; +$loader->addPsr4('ApiPlatform\\Test\\', __DIR__.'/../src/Test'); + +if (!class_exists(ApiPlatform\Symfony\Bundle\Test\ApiTestCase::class, false)) { + class_alias(ApiPlatform\Test\ApiTestCase::class, ApiPlatform\Symfony\Bundle\Test\ApiTestCase::class); +} diff --git a/phpstan.neon.dist b/phpstan.neon.dist index ee3f9221f42..fa6ca6e4d6e 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -13,7 +13,7 @@ parameters: objectManagerLoader: tests/Fixtures/app/object-manager.php bootstrapFiles: # We're aliasing classes for phpunit in this file, it needs to be added here see phpstan/#2194 - - src/Symfony/Bundle/Test/Constraint/ArraySubset.php + - src/Test/Constraint/ArraySubset.php - tests/Fixtures/app/AppKernel.php excludePaths: @@ -148,7 +148,7 @@ parameters: - src/Metadata/Tests - src/OpenApi/Tests - src/Serializer/Tests - - src/Symfony/Bundle/Test + - src/Test - src/Symfony/Tests - tests - @@ -170,7 +170,7 @@ parameters: - identifier: argument.templateType paths: - - src/Symfony/Bundle/Test + - src/Test - tests - src # TODO diff --git a/src/GraphQl/Test/GraphQlTestTrait.php b/src/GraphQl/Test/GraphQlTestTrait.php index 925cacdfa11..a6f3b1486f6 100644 --- a/src/GraphQl/Test/GraphQlTestTrait.php +++ b/src/GraphQl/Test/GraphQlTestTrait.php @@ -22,7 +22,7 @@ * Helpers for functional GraphQL tests. * * Designed to be mixed into a class that exposes a static `createClient()` returning - * an HTTP client with a `request()` method (e.g. ApiPlatform\Symfony\Bundle\Test\ApiTestCase). + * an HTTP client with a `request()` method (e.g. ApiPlatform\Test\ApiTestCase). */ trait GraphQlTestTrait { diff --git a/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php b/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php index 47ffb3dab3b..bd0c4bddb65 100644 --- a/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php +++ b/src/Symfony/Bundle/DependencyInjection/Compiler/TestClientPass.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler; -use ApiPlatform\Symfony\Bundle\Test\Client; +use ApiPlatform\Test\Client; use Symfony\Component\BrowserKit\AbstractBrowser; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; diff --git a/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php b/src/Test/ApiTestAssertionsTrait.php similarity index 98% rename from src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php rename to src/Test/ApiTestAssertionsTrait.php index f4283c7eef3..e5e995da344 100644 --- a/src/Symfony/Bundle/Test/ApiTestAssertionsTrait.php +++ b/src/Test/ApiTestAssertionsTrait.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test; +namespace ApiPlatform\Test; use ApiPlatform\JsonSchema\BackwardCompatibleSchemaFactory; use ApiPlatform\JsonSchema\Schema; @@ -19,8 +19,8 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\Constraint\ArraySubset; -use ApiPlatform\Symfony\Bundle\Test\Constraint\MatchesJsonSchema; +use ApiPlatform\Test\Constraint\ArraySubset; +use ApiPlatform\Test\Constraint\MatchesJsonSchema; use PHPUnit\Framework\Constraint\JsonMatches; use PHPUnit\Framework\ExpectationFailedException; use Symfony\Bundle\FrameworkBundle\Test\BrowserKitAssertionsTrait; diff --git a/src/Symfony/Bundle/Test/ApiTestCase.php b/src/Test/ApiTestCase.php similarity index 99% rename from src/Symfony/Bundle/Test/ApiTestCase.php rename to src/Test/ApiTestCase.php index e1076128deb..e75e90532d2 100644 --- a/src/Symfony/Bundle/Test/ApiTestCase.php +++ b/src/Test/ApiTestCase.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test; +namespace ApiPlatform\Test; use ApiPlatform\Metadata\IriConverterInterface; use PHPUnit\Framework\Attributes\After; diff --git a/src/Symfony/Bundle/Test/Client.php b/src/Test/Client.php similarity index 99% rename from src/Symfony/Bundle/Test/Client.php rename to src/Test/Client.php index 1936314ab54..90a2375263f 100644 --- a/src/Symfony/Bundle/Test/Client.php +++ b/src/Test/Client.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test; +namespace ApiPlatform\Test; use Symfony\Bundle\FrameworkBundle\KernelBrowser; use Symfony\Component\BrowserKit\CookieJar; diff --git a/src/Symfony/Bundle/Test/ClientTrait.php b/src/Test/ClientTrait.php similarity index 92% rename from src/Symfony/Bundle/Test/ClientTrait.php rename to src/Test/ClientTrait.php index 147236420cf..3dd549057b5 100644 --- a/src/Symfony/Bundle/Test/ClientTrait.php +++ b/src/Test/ClientTrait.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test; +namespace ApiPlatform\Test; trait ClientTrait { diff --git a/src/Symfony/Bundle/Test/Constraint/ArraySubset.php b/src/Test/Constraint/ArraySubset.php similarity index 92% rename from src/Symfony/Bundle/Test/Constraint/ArraySubset.php rename to src/Test/Constraint/ArraySubset.php index 1078a7a4135..81564443d23 100644 --- a/src/Symfony/Bundle/Test/Constraint/ArraySubset.php +++ b/src/Test/Constraint/ArraySubset.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test\Constraint; +namespace ApiPlatform\Test\Constraint; use PHPUnit\Framework\Constraint\Constraint; diff --git a/src/Symfony/Bundle/Test/Constraint/ArraySubsetTrait.php b/src/Test/Constraint/ArraySubsetTrait.php similarity index 97% rename from src/Symfony/Bundle/Test/Constraint/ArraySubsetTrait.php rename to src/Test/Constraint/ArraySubsetTrait.php index 12acdc6dc40..fffa1d85f83 100644 --- a/src/Symfony/Bundle/Test/Constraint/ArraySubsetTrait.php +++ b/src/Test/Constraint/ArraySubsetTrait.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test\Constraint; +namespace ApiPlatform\Test\Constraint; use SebastianBergmann\Comparator\ComparisonFailure; use SebastianBergmann\Exporter\Exporter; diff --git a/src/Symfony/Bundle/Test/Constraint/MatchesJsonSchema.php b/src/Test/Constraint/MatchesJsonSchema.php similarity index 98% rename from src/Symfony/Bundle/Test/Constraint/MatchesJsonSchema.php rename to src/Test/Constraint/MatchesJsonSchema.php index d16ba5e9539..90ac8ad43a2 100644 --- a/src/Symfony/Bundle/Test/Constraint/MatchesJsonSchema.php +++ b/src/Test/Constraint/MatchesJsonSchema.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test\Constraint; +namespace ApiPlatform\Test\Constraint; use JsonSchema\Validator; use PHPUnit\Framework\Constraint\Constraint; diff --git a/src/Test/README.md b/src/Test/README.md new file mode 100644 index 00000000000..1a513a53859 --- /dev/null +++ b/src/Test/README.md @@ -0,0 +1,14 @@ +# API Platform - Test + +Functional testing utilities for the [API Platform](https://api-platform.com) framework. + +Provides `ApiTestCase` and test assertions for building functional tests for API Platform applications. + +[Documentation](https://api-platform.com/docs/core/testing/) + +> [!CAUTION] +> +> This is a read-only sub split of `api-platform/core`, please +> [report issues](https://github.com/api-platform/core/issues) and +> [send Pull Requests](https://github.com/api-platform/core/pulls) +> in the [core API Platform repository](https://github.com/api-platform/core). diff --git a/src/Symfony/Bundle/Test/Response.php b/src/Test/Response.php similarity index 99% rename from src/Symfony/Bundle/Test/Response.php rename to src/Test/Response.php index 41a1afe82f6..bf3e08f698c 100644 --- a/src/Symfony/Bundle/Test/Response.php +++ b/src/Test/Response.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace ApiPlatform\Symfony\Bundle\Test; +namespace ApiPlatform\Test; use Symfony\Component\BrowserKit\Response as BrowserKitResponse; use Symfony\Component\HttpClient\Exception\ClientException; diff --git a/src/Test/composer.json b/src/Test/composer.json new file mode 100644 index 00000000000..497052bf132 --- /dev/null +++ b/src/Test/composer.json @@ -0,0 +1,70 @@ +{ + "name": "api-platform/test", + "description": "Testing utilities for API Platform", + "type": "library", + "keywords": [ + "REST", + "API", + "GraphQL", + "JSON-LD", + "Test", + "PHPUnit" + ], + "homepage": "https://api-platform.com", + "license": "MIT", + "authors": [ + { + "name": "Kévin Dunglas", + "email": "kevin@dunglas.fr", + "homepage": "https://dunglas.fr" + }, + { + "name": "Antoine Bluchet", + "email": "soyuka@gmail.com", + "homepage": "https://soyuka.me" + } + ], + "require": { + "php": ">=8.2", + "api-platform/json-schema": "^5.0@alpha", + "api-platform/metadata": "^5.0@alpha", + "phpunit/phpunit": "^11.5 || ^12.2", + "symfony/browser-kit": "^7.4 || ^8.0", + "symfony/framework-bundle": "^7.4 || ^8.0", + "symfony/http-client": "^7.4 || ^8.0" + }, + "suggest": { + "doctrine/mongodb-odm": "To use findIriBy() with MongoDB", + "doctrine/orm": "To use findIriBy() with Doctrine ORM", + "justinrainbow/json-schema": "To validate JSON schemas in assertions", + "symfony/mercure": "To use the Mercure assertions", + "symfony/security-core": "To use Client::loginUser()" + }, + "autoload": { + "psr-4": { + "ApiPlatform\\Test\\": "" + } + }, + "config": { + "preferred-install": { + "*": "dist" + }, + "sort-packages": true, + "allow-plugins": { + "composer/package-versions-deprecated": true, + "phpstan/extension-installer": true, + "php-http/discovery": true + } + }, + "extra": { + "branch-alias": { + "dev-main": "5.0.x-dev" + }, + "thanks": { + "name": "api-platform/api-platform", + "url": "https://github.com/api-platform/api-platform" + } + }, + "minimum-stability": "beta", + "prefer-stable": true +} diff --git a/tests/Functional/ArrayDtoTest.php b/tests/Functional/ArrayDtoTest.php index de7bce8e1a9..9ce5a88b57c 100644 --- a/tests/Functional/ArrayDtoTest.php +++ b/tests/Functional/ArrayDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6211\ArrayPropertyDtoOperation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/AttributeResourceTest.php b/tests/Functional/AttributeResourceTest.php index 753fc8a39c7..52eaf0e77a5 100644 --- a/tests/Functional/AttributeResourceTest.php +++ b/tests/Functional/AttributeResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PostWithUriVariables; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\AttributeResource; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\AttributeResources; diff --git a/tests/Functional/Authorization/DenyTest.php b/tests/Functional/Authorization/DenyTest.php index 838de50670b..9c13c648de6 100644 --- a/tests/Functional/Authorization/DenyTest.php +++ b/tests/Functional/Authorization/DenyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Authorization; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6446\SecurityPostValidation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedLinkedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SecuredDummy; diff --git a/tests/Functional/Authorization/LegacyDenyTest.php b/tests/Functional/Authorization/LegacyDenyTest.php index d93149724a5..8cd552d181d 100644 --- a/tests/Functional/Authorization/LegacyDenyTest.php +++ b/tests/Functional/Authorization/LegacyDenyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Authorization; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\LegacySecuredDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/BackedEnumFilterTest.php b/tests/Functional/BackedEnumFilterTest.php index 224ded4dc49..944f361c484 100644 --- a/tests/Functional/BackedEnumFilterTest.php +++ b/tests/Functional/BackedEnumFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\DummyForBackedEnumFilter; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\IntegerBackedEnum; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\StringBackedEnum; diff --git a/tests/Functional/BackedEnumPropertyTest.php b/tests/Functional/BackedEnumPropertyTest.php index 335a5196287..09836cd5b00 100644 --- a/tests/Functional/BackedEnumPropertyTest.php +++ b/tests/Functional/BackedEnumPropertyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Person as PersonDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Person; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PersonToPet; diff --git a/tests/Functional/BackedEnumResourceTest.php b/tests/Functional/BackedEnumResourceTest.php index 94abdf74921..13df4afa55c 100644 --- a/tests/Functional/BackedEnumResourceTest.php +++ b/tests/Functional/BackedEnumResourceTest.php @@ -16,7 +16,7 @@ use ApiPlatform\Metadata\Get; use ApiPlatform\Metadata\GetCollection; use ApiPlatform\Metadata\Link; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\BackedEnumIntegerResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\BackedEnumStringResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6264\Availability; diff --git a/tests/Functional/ChoiceValidationOpenApiTest.php b/tests/Functional/ChoiceValidationOpenApiTest.php index 0dfc9a3e168..a719f25efbd 100644 --- a/tests/Functional/ChoiceValidationOpenApiTest.php +++ b/tests/Functional/ChoiceValidationOpenApiTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\CompanyWithChoiceValidation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/CircularReferenceTest.php b/tests/Functional/CircularReferenceTest.php index 5dfc1e33557..5d9574917c3 100644 --- a/tests/Functional/CircularReferenceTest.php +++ b/tests/Functional/CircularReferenceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CircularReference; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/CompositeIdentifierTest.php b/tests/Functional/CompositeIdentifierTest.php index 1e7617ecdf4..a9fa6f23060 100644 --- a/tests/Functional/CompositeIdentifierTest.php +++ b/tests/Functional/CompositeIdentifierTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5396\CompositeKeyWithDifferentType; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CompositeItem; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CompositeLabel; diff --git a/tests/Functional/ConfigurableTest.php b/tests/Functional/ConfigurableTest.php index 674beae78a4..2c7b935b879 100644 --- a/tests/Functional/ConfigurableTest.php +++ b/tests/Functional/ConfigurableTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FileConfigDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SingleFileConfigDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/ContentNegotiationTest.php b/tests/Functional/ContentNegotiationTest.php index d159aa24129..c5e7416cf77 100644 --- a/tests/Functional/ContentNegotiationTest.php +++ b/tests/Functional/ContentNegotiationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyCustomFormat; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SecuredDummy; diff --git a/tests/Functional/CrudAbstractTest.php b/tests/Functional/CrudAbstractTest.php index 414ce6d2343..ad681f79cb6 100644 --- a/tests/Functional/CrudAbstractTest.php +++ b/tests/Functional/CrudAbstractTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\AbstractDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ConcreteDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/CrudTest.php b/tests/Functional/CrudTest.php index 99c015ffda9..354defebe1b 100644 --- a/tests/Functional/CrudTest.php +++ b/tests/Functional/CrudTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/CrudUriVariablesTest.php b/tests/Functional/CrudUriVariablesTest.php index 27aed1c63aa..abf627a27e1 100644 --- a/tests/Functional/CrudUriVariablesTest.php +++ b/tests/Functional/CrudUriVariablesTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Company; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Employee; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/CursorPaginationEmptyCollectionTest.php b/tests/Functional/CursorPaginationEmptyCollectionTest.php index c1a45034165..1bafec5ecd5 100644 --- a/tests/Functional/CursorPaginationEmptyCollectionTest.php +++ b/tests/Functional/CursorPaginationEmptyCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CursorPaginatedDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/CustomControllerTest.php b/tests/Functional/CustomControllerTest.php index 450ddbbf27b..37843736828 100644 --- a/tests/Functional/CustomControllerTest.php +++ b/tests/Functional/CustomControllerTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomActionDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Payment; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\VoidPayment; diff --git a/tests/Functional/CustomIdentifierTest.php b/tests/Functional/CustomIdentifierTest.php index a68627a7800..36c7b81698a 100644 --- a/tests/Functional/CustomIdentifierTest.php +++ b/tests/Functional/CustomIdentifierTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomIdentifierDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomMultipleIdentifierDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/CustomIdentifierWithSubresourceTest.php b/tests/Functional/CustomIdentifierWithSubresourceTest.php index 42699db37d4..64676fc5c38 100644 --- a/tests/Functional/CustomIdentifierWithSubresourceTest.php +++ b/tests/Functional/CustomIdentifierWithSubresourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SlugChildDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SlugParentDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/CustomNormalizedTest.php b/tests/Functional/CustomNormalizedTest.php index 7fca11e774a..cb39dfd4589 100644 --- a/tests/Functional/CustomNormalizedTest.php +++ b/tests/Functional/CustomNormalizedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomNormalizedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedNormalizedDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/CustomPutTest.php b/tests/Functional/CustomPutTest.php index d901a8034bd..584ad52503a 100644 --- a/tests/Functional/CustomPutTest.php +++ b/tests/Functional/CustomPutTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomPut; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/CustomWritableIdentifierTest.php b/tests/Functional/CustomWritableIdentifierTest.php index 48affd6dd5a..48ad28e4626 100644 --- a/tests/Functional/CustomWritableIdentifierTest.php +++ b/tests/Functional/CustomWritableIdentifierTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomWritableIdentifierDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/DateTimeNormalizerPriorityTest.php b/tests/Functional/DateTimeNormalizerPriorityTest.php index b3ad733b6cc..9b9e6ee3905 100644 --- a/tests/Functional/DateTimeNormalizerPriorityTest.php +++ b/tests/Functional/DateTimeNormalizerPriorityTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DateTimeNormalizationIssue; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/DefaultOrderTest.php b/tests/Functional/DefaultOrderTest.php index 2d48386c8d1..2df419074f8 100644 --- a/tests/Functional/DefaultOrderTest.php +++ b/tests/Functional/DefaultOrderTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Foo; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FooDummy; diff --git a/tests/Functional/DefaultParametersTest.php b/tests/Functional/DefaultParametersTest.php index 6fdd6ad7f99..192464ea008 100644 --- a/tests/Functional/DefaultParametersTest.php +++ b/tests/Functional/DefaultParametersTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; /** * Tests that default parameters configured via api_platform.defaults.parameters diff --git a/tests/Functional/DenormalizationValidationTest.php b/tests/Functional/DenormalizationValidationTest.php index e0c8311cea9..8fe4c551b3e 100644 --- a/tests/Functional/DenormalizationValidationTest.php +++ b/tests/Functional/DenormalizationValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DenormalizationValidationResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Validator\Constraints\NotBlank; diff --git a/tests/Functional/DeprecationHeaderTest.php b/tests/Functional/DeprecationHeaderTest.php index bdebfe481e7..dc7aee1b72c 100644 --- a/tests/Functional/DeprecationHeaderTest.php +++ b/tests/Functional/DeprecationHeaderTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DeprecationHeader; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/DiscriminatedInputDtoTest.php b/tests/Functional/DiscriminatedInputDtoTest.php index 2c6a1507206..ce4f3449a48 100644 --- a/tests/Functional/DiscriminatedInputDtoTest.php +++ b/tests/Functional/DiscriminatedInputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DiscriminatedInputDto\ChannelResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Doctrine/BooleanFilterTest.php b/tests/Functional/Doctrine/BooleanFilterTest.php index 985fcba3578..d7f564a6ffa 100644 --- a/tests/Functional/Doctrine/BooleanFilterTest.php +++ b/tests/Functional/Doctrine/BooleanFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedBoolean as ConvertedBooleanDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\EmbeddableDummy as EmbeddableDummyDocument; diff --git a/tests/Functional/Doctrine/ComputedFieldTest.php b/tests/Functional/Doctrine/ComputedFieldTest.php index 2433425b5d9..7a3aba61058 100644 --- a/tests/Functional/Doctrine/ComputedFieldTest.php +++ b/tests/Functional/Doctrine/ComputedFieldTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Cart; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CartProduct; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/ContextSwitchTest.php b/tests/Functional/Doctrine/ContextSwitchTest.php index 3fc1564492f..52160b69e32 100644 --- a/tests/Functional/Doctrine/ContextSwitchTest.php +++ b/tests/Functional/Doctrine/ContextSwitchTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyContext; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyContextRelated; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/DateFilterTest.php b/tests/Functional/Doctrine/DateFilterTest.php index eaceb789db6..978f7dbf5ee 100644 --- a/tests/Functional/Doctrine/DateFilterTest.php +++ b/tests/Functional/Doctrine/DateFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedDate as ConvertedDateDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyDate as DummyDateDocument; diff --git a/tests/Functional/Doctrine/EagerLoadingTest.php b/tests/Functional/Doctrine/EagerLoadingTest.php index d6f7168b8a0..34f84df2bf4 100644 --- a/tests/Functional/Doctrine/EagerLoadingTest.php +++ b/tests/Functional/Doctrine/EagerLoadingTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Doctrine\Orm\EntityManager; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyCar; diff --git a/tests/Functional/Doctrine/EntityReadOnlyTest.php b/tests/Functional/Doctrine/EntityReadOnlyTest.php index 106da2f173b..28e84c591e2 100644 --- a/tests/Functional/Doctrine/EntityReadOnlyTest.php +++ b/tests/Functional/Doctrine/EntityReadOnlyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyReadOnly; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Doctrine/ExistsFilterTest.php b/tests/Functional/Doctrine/ExistsFilterTest.php index 04bdb592cb9..3f8d35cc056 100644 --- a/tests/Functional/Doctrine/ExistsFilterTest.php +++ b/tests/Functional/Doctrine/ExistsFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedString as ConvertedStringDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedDummy as RelatedDummyDocument; diff --git a/tests/Functional/Doctrine/FetchDataFalseStateOptionsResourceTest.php b/tests/Functional/Doctrine/FetchDataFalseStateOptionsResourceTest.php index f493fd8a561..996cb11f5d2 100644 --- a/tests/Functional/Doctrine/FetchDataFalseStateOptionsResourceTest.php +++ b/tests/Functional/Doctrine/FetchDataFalseStateOptionsResourceTest.php @@ -15,7 +15,7 @@ use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface; use ApiPlatform\State\ProviderInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\FetchDataFalseStateOptions; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FetchDataFalseStateOptionsEntity; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/FetchDataFalseSubresourceTest.php b/tests/Functional/Doctrine/FetchDataFalseSubresourceTest.php index d25b691de43..687d8e0ec3d 100644 --- a/tests/Functional/Doctrine/FetchDataFalseSubresourceTest.php +++ b/tests/Functional/Doctrine/FetchDataFalseSubresourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Company; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Employee; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/LinkHandlerTest.php b/tests/Functional/Doctrine/LinkHandlerTest.php index 8f52ba454da..b1017b7d2d2 100644 --- a/tests/Functional/Doctrine/LinkHandlerTest.php +++ b/tests/Functional/Doctrine/LinkHandlerTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\LinkHandledDummy as LinkHandledDummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\LinkHandledDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/MappedSuperclassPutTest.php b/tests/Functional/Doctrine/MappedSuperclassPutTest.php index 80088c63df6..c27215e7c95 100644 --- a/tests/Functional/Doctrine/MappedSuperclassPutTest.php +++ b/tests/Functional/Doctrine/MappedSuperclassPutTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyMappedSubclass; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Doctrine/MultipleFilterTest.php b/tests/Functional/Doctrine/MultipleFilterTest.php index 787615cebf3..e004073da3d 100644 --- a/tests/Functional/Doctrine/MultipleFilterTest.php +++ b/tests/Functional/Doctrine/MultipleFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/NumericFilterTest.php b/tests/Functional/Doctrine/NumericFilterTest.php index b120b28ea68..3daba7f9143 100644 --- a/tests/Functional/Doctrine/NumericFilterTest.php +++ b/tests/Functional/Doctrine/NumericFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedInteger as ConvertedIntegerDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ConvertedInteger; diff --git a/tests/Functional/Doctrine/OrderFilterTest.php b/tests/Functional/Doctrine/OrderFilterTest.php index a4f6c2473c8..f17a61bd898 100644 --- a/tests/Functional/Doctrine/OrderFilterTest.php +++ b/tests/Functional/Doctrine/OrderFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedInteger as ConvertedIntegerDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\EmbeddableDummy as EmbeddableDummyDocument; diff --git a/tests/Functional/Doctrine/PartialPaginationMappedTest.php b/tests/Functional/Doctrine/PartialPaginationMappedTest.php index 0342c392649..7d44d62642d 100644 --- a/tests/Functional/Doctrine/PartialPaginationMappedTest.php +++ b/tests/Functional/Doctrine/PartialPaginationMappedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PartialPaginationMappedResource; use ApiPlatform\Tests\Fixtures\TestBundle\Document\PartialPaginationMappedDocument; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Doctrine/PartialPaginationMongoDbTest.php b/tests/Functional/Doctrine/PartialPaginationMongoDbTest.php index 2b96b7691e9..36405751a49 100644 --- a/tests/Functional/Doctrine/PartialPaginationMongoDbTest.php +++ b/tests/Functional/Doctrine/PartialPaginationMongoDbTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\PartialPaginationMongo\PartialPaginationMongoDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Doctrine/PartialPaginationTest.php b/tests/Functional/Doctrine/PartialPaginationTest.php index b0039078aec..805d00f2746 100644 --- a/tests/Functional/Doctrine/PartialPaginationTest.php +++ b/tests/Functional/Doctrine/PartialPaginationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\PartialPaginationDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Doctrine/RangeFilterTest.php b/tests/Functional/Doctrine/RangeFilterTest.php index d8da6fda3ee..6e78cb60807 100644 --- a/tests/Functional/Doctrine/RangeFilterTest.php +++ b/tests/Functional/Doctrine/RangeFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedInteger as ConvertedIntegerDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ConvertedInteger; diff --git a/tests/Functional/Doctrine/SearchFilterTest.php b/tests/Functional/Doctrine/SearchFilterTest.php index a5a42fc3231..362f8173bdb 100644 --- a/tests/Functional/Doctrine/SearchFilterTest.php +++ b/tests/Functional/Doctrine/SearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5605\MainResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5605\SubResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5648\DummyResource; diff --git a/tests/Functional/Doctrine/SeparatedResourceTest.php b/tests/Functional/Doctrine/SeparatedResourceTest.php index b19cd54d433..0d8b1e98938 100644 --- a/tests/Functional/Doctrine/SeparatedResourceTest.php +++ b/tests/Functional/Doctrine/SeparatedResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\EntityClassAndCustomProviderResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ResourceWithSeparatedEntity; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResourceOdm\ResourceWithSeparatedDocument; diff --git a/tests/Functional/Doctrine/StateOptionTest.php b/tests/Functional/Doctrine/StateOptionTest.php index b77694aa74c..1a1c76dd5f5 100644 --- a/tests/Functional/Doctrine/StateOptionTest.php +++ b/tests/Functional/Doctrine/StateOptionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Doctrine; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6039\UserApi; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7689\Issue7689CategoryDto; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7689\Issue7689ProductDto; diff --git a/tests/Functional/DocumentationActionTest.php b/tests/Functional/DocumentationActionTest.php index e587e03228c..c2613109dc3 100644 --- a/tests/Functional/DocumentationActionTest.php +++ b/tests/Functional/DocumentationActionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; diff --git a/tests/Functional/Elasticsearch/MatchFilterTest.php b/tests/Functional/Elasticsearch/MatchFilterTest.php index d33585649ac..b84edc5fe93 100644 --- a/tests/Functional/Elasticsearch/MatchFilterTest.php +++ b/tests/Functional/Elasticsearch/MatchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Elasticsearch; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Book; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Genre; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Library; diff --git a/tests/Functional/Elasticsearch/OrderFilterTest.php b/tests/Functional/Elasticsearch/OrderFilterTest.php index 3a1ab3d9fa4..e8fadb23fd8 100644 --- a/tests/Functional/Elasticsearch/OrderFilterTest.php +++ b/tests/Functional/Elasticsearch/OrderFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Elasticsearch; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Book; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Genre; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Library; diff --git a/tests/Functional/Elasticsearch/ReadTest.php b/tests/Functional/Elasticsearch/ReadTest.php index 79f4cdf02ce..af64b5887a5 100644 --- a/tests/Functional/Elasticsearch/ReadTest.php +++ b/tests/Functional/Elasticsearch/ReadTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Elasticsearch; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Book; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Genre; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Library; diff --git a/tests/Functional/Elasticsearch/TermFilterTest.php b/tests/Functional/Elasticsearch/TermFilterTest.php index 7db5145d2d9..ae4c9f98dce 100644 --- a/tests/Functional/Elasticsearch/TermFilterTest.php +++ b/tests/Functional/Elasticsearch/TermFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Elasticsearch; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Book; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Genre; use ApiPlatform\Tests\Fixtures\Elasticsearch\Model\Library; diff --git a/tests/Functional/EntrypointFormatTest.php b/tests/Functional/EntrypointFormatTest.php index b1ac4df6780..0ebbb207847 100644 --- a/tests/Functional/EntrypointFormatTest.php +++ b/tests/Functional/EntrypointFormatTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\MultipleResourceBook; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/EnumDenormalizationValidationTest.php b/tests/Functional/EnumDenormalizationValidationTest.php index e469989fa2e..71547d39c4a 100644 --- a/tests/Functional/EnumDenormalizationValidationTest.php +++ b/tests/Functional/EnumDenormalizationValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\EnumValidationResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use Composer\InstalledVersions; diff --git a/tests/Functional/ErrorFormatTest.php b/tests/Functional/ErrorFormatTest.php index 3958cff0e9a..2e8b10aa834 100644 --- a/tests/Functional/ErrorFormatTest.php +++ b/tests/Functional/ErrorFormatTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7287\OperationWithDefaultFormat; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; diff --git a/tests/Functional/ErrorTest.php b/tests/Functional/ErrorTest.php index 92691c475a0..e7af775416d 100644 --- a/tests/Functional/ErrorTest.php +++ b/tests/Functional/ErrorTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional; use ApiPlatform\State\ApiResource\Error; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DataUriFileUpload\FileUploadResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ErrorResourceWithGroups\Error as ErrorResourceWithGroupsError; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ErrorResourceWithGroups\ThrowsAnExceptionWithGroup; diff --git a/tests/Functional/ExceptionToStatusTest.php b/tests/Functional/ExceptionToStatusTest.php index f95fdd9a69c..4ae9300ffb4 100644 --- a/tests/Functional/ExceptionToStatusTest.php +++ b/tests/Functional/ExceptionToStatusTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ErrorWithOverridenStatus; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5924\TooManyRequests; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\DummyExceptionToStatus; diff --git a/tests/Functional/ExposedStateTest.php b/tests/Functional/ExposedStateTest.php index 1e2922bbaa5..7e881211e31 100644 --- a/tests/Functional/ExposedStateTest.php +++ b/tests/Functional/ExposedStateTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\TruncatedDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Filter/FilterValidationTest.php b/tests/Functional/Filter/FilterValidationTest.php index af74725a240..93d455e827a 100644 --- a/tests/Functional/Filter/FilterValidationTest.php +++ b/tests/Functional/Filter/FilterValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Filter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ArrayFilterValidator; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilterValidator; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Filter/PropertyFilterTest.php b/tests/Functional/Filter/PropertyFilterTest.php index 10764f9629f..f12ac2d1449 100644 --- a/tests/Functional/Filter/PropertyFilterTest.php +++ b/tests/Functional/Filter/PropertyFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Filter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PropertyFilter\SparseFieldsetChild; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PropertyFilter\SparseFieldsetParent; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\PropertyFilter\SparseFieldsetParentWithQueryParameter; diff --git a/tests/Functional/FormatTest.php b/tests/Functional/FormatTest.php index 4fb21227b98..e92af62b379 100644 --- a/tests/Functional/FormatTest.php +++ b/tests/Functional/FormatTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6384\AcceptHtml; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WildcardAcceptFormat\WildcardAcceptFormat; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GenIdGlobalOptionTest.php b/tests/Functional/GenIdGlobalOptionTest.php index 729a1f9d309..f74dde595c7 100644 --- a/tests/Functional/GenIdGlobalOptionTest.php +++ b/tests/Functional/GenIdGlobalOptionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\AggregateRating; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\GenIdDefault; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\GenIdTrue; diff --git a/tests/Functional/GraphQl/AuthorizationTest.php b/tests/Functional/GraphQl/AuthorizationTest.php index 14a238c1ba9..456d7114582 100644 --- a/tests/Functional/GraphQl/AuthorizationTest.php +++ b/tests/Functional/GraphQl/AuthorizationTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedDummy as RelatedDummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedLinkedDummy as RelatedLinkedDummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedSecuredDummy as RelatedSecuredDummyDocument; diff --git a/tests/Functional/GraphQl/CircularReferenceNormalizationTest.php b/tests/Functional/GraphQl/CircularReferenceNormalizationTest.php index 5bae0e84687..fa9814bb930 100644 --- a/tests/Functional/GraphQl/CircularReferenceNormalizationTest.php +++ b/tests/Functional/GraphQl/CircularReferenceNormalizationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\GraphQlCircularReference\CircularReferenceAddress; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\GraphQlCircularReference\CircularReferenceCustomer; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/GraphQl/CollectionTest.php b/tests/Functional/GraphQl/CollectionTest.php index e7931490ce1..c6311050205 100644 --- a/tests/Functional/GraphQl/CollectionTest.php +++ b/tests/Functional/GraphQl/CollectionTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyCustomQuery as DummyCustomQueryDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyDifferentGraphQlSerializationGroup as DummyDifferentGraphQlSerializationGroupDocument; diff --git a/tests/Functional/GraphQl/CustomTypeTest.php b/tests/Functional/GraphQl/CustomTypeTest.php index 6fb33832662..7b0ffa44b24 100644 --- a/tests/Functional/GraphQl/CustomTypeTest.php +++ b/tests/Functional/GraphQl/CustomTypeTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/GraphQl/DocsTest.php b/tests/Functional/GraphQl/DocsTest.php index f2bc0c20407..72031bd7ca3 100644 --- a/tests/Functional/GraphQl/DocsTest.php +++ b/tests/Functional/GraphQl/DocsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; final class DocsTest extends ApiTestCase { diff --git a/tests/Functional/GraphQl/FilterTest.php b/tests/Functional/GraphQl/FilterTest.php index a7d40722d66..e31a2a60edb 100644 --- a/tests/Functional/GraphQl/FilterTest.php +++ b/tests/Functional/GraphQl/FilterTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedOwner as ConvertedOwnerDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedRelated as ConvertedRelatedDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; diff --git a/tests/Functional/GraphQl/GraphQlCustomQueryProviderTest.php b/tests/Functional/GraphQl/GraphQlCustomQueryProviderTest.php index 4a9a35eab2f..e60cebb091d 100644 --- a/tests/Functional/GraphQl/GraphQlCustomQueryProviderTest.php +++ b/tests/Functional/GraphQl/GraphQlCustomQueryProviderTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GraphQlCustomQueryProvider\Account; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GraphQlCustomQueryProvider\AccountWithGet; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GraphQl/InputOutputTest.php b/tests/Functional/GraphQl/InputOutputTest.php index a120f54edda..ac57cf4a11e 100644 --- a/tests/Functional/GraphQl/InputOutputTest.php +++ b/tests/Functional/GraphQl/InputOutputTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyDtoInputOutput as DummyDtoInputOutputDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyDtoNoInput as DummyDtoNoInputDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyDtoNoOutput as DummyDtoNoOutputDocument; diff --git a/tests/Functional/GraphQl/IntrospectionTest.php b/tests/Functional/GraphQl/IntrospectionTest.php index b7827b5cc7b..a294875ff2b 100644 --- a/tests/Functional/GraphQl/IntrospectionTest.php +++ b/tests/Functional/GraphQl/IntrospectionTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedDummy as RelatedDummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DeprecatedResource; diff --git a/tests/Functional/GraphQl/Issue2754Test.php b/tests/Functional/GraphQl/Issue2754Test.php index bd71a4c0de9..99e7341370d 100644 --- a/tests/Functional/GraphQl/Issue2754Test.php +++ b/tests/Functional/GraphQl/Issue2754Test.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue2754\Sum; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GraphQl/Issue3975Test.php b/tests/Functional/GraphQl/Issue3975Test.php index ae4ad1e3928..c20b586753f 100644 --- a/tests/Functional/GraphQl/Issue3975Test.php +++ b/tests/Functional/GraphQl/Issue3975Test.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue3975\ActionSimulation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GraphQl/Issue7966Test.php b/tests/Functional/GraphQl/Issue7966Test.php index e47a4643463..8b78adeebcd 100644 --- a/tests/Functional/GraphQl/Issue7966Test.php +++ b/tests/Functional/GraphQl/Issue7966Test.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7966\SortFilterParameterDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GraphQl/Issue8076Test.php b/tests/Functional/GraphQl/Issue8076Test.php index 87fa04cc9d5..7d63bc1794e 100644 --- a/tests/Functional/GraphQl/Issue8076Test.php +++ b/tests/Functional/GraphQl/Issue8076Test.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue8076\Facility; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue8076\Product; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue8076\Variant; diff --git a/tests/Functional/GraphQl/MappedSelfReferenceTest.php b/tests/Functional/GraphQl/MappedSelfReferenceTest.php index 28790a1069a..7392461f346 100644 --- a/tests/Functional/GraphQl/MappedSelfReferenceTest.php +++ b/tests/Functional/GraphQl/MappedSelfReferenceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\GraphQlMappedSelfReference\MappedSelfReference; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/GraphQl/MutationTest.php b/tests/Functional/GraphQl/MutationTest.php index ac8bf520b09..56633a83f82 100644 --- a/tests/Functional/GraphQl/MutationTest.php +++ b/tests/Functional/GraphQl/MutationTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6354\ActivityLog; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyCustomMutation as DummyCustomMutationDocument; diff --git a/tests/Functional/GraphQl/ParameterFilterParityTest.php b/tests/Functional/GraphQl/ParameterFilterParityTest.php index 292f9ccfec4..941d528d515 100644 --- a/tests/Functional/GraphQl/ParameterFilterParityTest.php +++ b/tests/Functional/GraphQl/ParameterFilterParityTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\GraphQlFilteredResource as GraphQlFilteredResourceDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\GraphQlFilteredResourceColor as GraphQlFilteredResourceColorDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\GraphQlFilteredResource; diff --git a/tests/Functional/GraphQl/QueryTest.php b/tests/Functional/GraphQl/QueryTest.php index 78e1ccb96a7..322353fe625 100644 --- a/tests/Functional/GraphQl/QueryTest.php +++ b/tests/Functional/GraphQl/QueryTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6427\SecurityAfterResolver; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy as DummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyCar as DummyCarDocument; diff --git a/tests/Functional/GraphQl/SchemaExportTest.php b/tests/Functional/GraphQl/SchemaExportTest.php index 06360f1212c..a2bae87017e 100644 --- a/tests/Functional/GraphQl/SchemaExportTest.php +++ b/tests/Functional/GraphQl/SchemaExportTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyFriend; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\OptionalRequiredDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedToDummyFriend; diff --git a/tests/Functional/GraphQl/SecurityTest.php b/tests/Functional/GraphQl/SecurityTest.php index 305927f1302..b49e19ce2ba 100644 --- a/tests/Functional/GraphQl/SecurityTest.php +++ b/tests/Functional/GraphQl/SecurityTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\SecuredDummy as DocumentSecuredDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Document\SecuredDummyCollection as DocumentSecuredDummyCollection; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SecuredDummy; diff --git a/tests/Functional/GraphQl/SubscriptionTest.php b/tests/Functional/GraphQl/SubscriptionTest.php index e66fda5c9e2..4d16f95b54d 100644 --- a/tests/Functional/GraphQl/SubscriptionTest.php +++ b/tests/Functional/GraphQl/SubscriptionTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; use ApiPlatform\GraphQl\Test\GraphQlTestTrait; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyMercure as DummyMercureDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedDummy as RelatedDummyDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyMercure; diff --git a/tests/Functional/GraphQl/TransientSelfReferenceTest.php b/tests/Functional/GraphQl/TransientSelfReferenceTest.php index d40a49ac423..3e42918a9ef 100644 --- a/tests/Functional/GraphQl/TransientSelfReferenceTest.php +++ b/tests/Functional/GraphQl/TransientSelfReferenceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\GraphQl; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\GraphQlTransientSelfReference\TransientSelfReference; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/AbsoluteUrlTest.php b/tests/Functional/Hal/AbsoluteUrlTest.php index ee61a90757c..a4db9a00db7 100644 --- a/tests/Functional/Hal/AbsoluteUrlTest.php +++ b/tests/Functional/Hal/AbsoluteUrlTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\AbsoluteUrlChild; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\AbsoluteUrlParent; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/CollectionTest.php b/tests/Functional/Hal/CollectionTest.php index fa338eb8f08..51edfcf8201 100644 --- a/tests/Functional/Hal/CollectionTest.php +++ b/tests/Functional/Hal/CollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\CollectionPagedResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/HalTest.php b/tests/Functional/Hal/HalTest.php index bf1fbc77072..c87085be949 100644 --- a/tests/Functional/Hal/HalTest.php +++ b/tests/Functional/Hal/HalTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\HalRelatedResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\HalThirdLevel; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\RelationEmbedder; diff --git a/tests/Functional/Hal/InputOutputDtoTest.php b/tests/Functional/Hal/InputOutputDtoTest.php index 6ae2f29bb1f..cf7a4dfa5ce 100644 --- a/tests/Functional/Hal/InputOutputDtoTest.php +++ b/tests/Functional/Hal/InputOutputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\CustomOutputResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/ItemUriTemplateTest.php b/tests/Functional/Hal/ItemUriTemplateTest.php index 2196881211c..19135208bd2 100644 --- a/tests/Functional/Hal/ItemUriTemplateTest.php +++ b/tests/Functional/Hal/ItemUriTemplateTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\UriTemplateCar; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/MaxDepthTest.php b/tests/Functional/Hal/MaxDepthTest.php index 007aa270b34..62390935a60 100644 --- a/tests/Functional/Hal/MaxDepthTest.php +++ b/tests/Functional/Hal/MaxDepthTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\MaxDepthResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/NetworkPathTest.php b/tests/Functional/Hal/NetworkPathTest.php index d3dafe1bbd8..5755ad3567a 100644 --- a/tests/Functional/Hal/NetworkPathTest.php +++ b/tests/Functional/Hal/NetworkPathTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\NetworkPathParent; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\NetworkPathResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/NonResourceTest.php b/tests/Functional/Hal/NonResourceTest.php index 8292a16ec69..12c78c837ab 100644 --- a/tests/Functional/Hal/NonResourceTest.php +++ b/tests/Functional/Hal/NonResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\NonResourceContainer; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/ProblemTest.php b/tests/Functional/Hal/ProblemTest.php index 4c5e5136763..7ad877b57d2 100644 --- a/tests/Functional/Hal/ProblemTest.php +++ b/tests/Functional/Hal/ProblemTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\ProblemRelation; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Hal\ProblemResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Hal/PropertyCollectionIriOnlyTest.php b/tests/Functional/Hal/PropertyCollectionIriOnlyTest.php index dd92836af17..d38b09e6859 100644 --- a/tests/Functional/Hal/PropertyCollectionIriOnlyTest.php +++ b/tests/Functional/Hal/PropertyCollectionIriOnlyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnly; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelationSecondLevel; diff --git a/tests/Functional/Hal/TableInheritanceTest.php b/tests/Functional/Hal/TableInheritanceTest.php index d5c1f89e86e..bec705415d3 100644 --- a/tests/Functional/Hal/TableInheritanceTest.php +++ b/tests/Functional/Hal/TableInheritanceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Hal; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyTableInheritance; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyTableInheritanceChild; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyTableInheritanceDifferentChild; diff --git a/tests/Functional/HalCircularReferenceTest.php b/tests/Functional/HalCircularReferenceTest.php index 2c95f50f988..8dc280a1fbb 100644 --- a/tests/Functional/HalCircularReferenceTest.php +++ b/tests/Functional/HalCircularReferenceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue4358\ResourceA; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue4358\ResourceB; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/HeadAllowWithoutGetTest.php b/tests/Functional/HeadAllowWithoutGetTest.php index 09e9112ad53..969f12c5433 100644 --- a/tests/Functional/HeadAllowWithoutGetTest.php +++ b/tests/Functional/HeadAllowWithoutGetTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\PostNoOutputResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/HeadRequestTest.php b/tests/Functional/HeadRequestTest.php index 1ec42d0e22f..6b1e61e87a1 100644 --- a/tests/Functional/HeadRequestTest.php +++ b/tests/Functional/HeadRequestTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\HeadSpyResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Bundle\FrameworkBundle\Controller\ControllerHelper; diff --git a/tests/Functional/HeadRequestWithoutOptimizationTest.php b/tests/Functional/HeadRequestWithoutOptimizationTest.php index 5c1ad9de14d..f2237f5ad31 100644 --- a/tests/Functional/HeadRequestWithoutOptimizationTest.php +++ b/tests/Functional/HeadRequestWithoutOptimizationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\HeadSpyResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Config\Loader\LoaderInterface; diff --git a/tests/Functional/HeadersAdditionTest.php b/tests/Functional/HeadersAdditionTest.php index 15b6acbcad3..8f53788a6af 100644 --- a/tests/Functional/HeadersAdditionTest.php +++ b/tests/Functional/HeadersAdditionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Headers; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyCar; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/HttpCache/CacheTagsTest.php b/tests/Functional/HttpCache/CacheTagsTest.php index f7761c1b76e..3290b05de2c 100644 --- a/tests/Functional/HttpCache/CacheTagsTest.php +++ b/tests/Functional/HttpCache/CacheTagsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\HttpCache; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\NullPurger; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Relation1; diff --git a/tests/Functional/HttpCache/HeadersTest.php b/tests/Functional/HttpCache/HeadersTest.php index 4d0c810f75d..3b5e81e3fc0 100644 --- a/tests/Functional/HttpCache/HeadersTest.php +++ b/tests/Functional/HttpCache/HeadersTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\HttpCache; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationEmbedder; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/HttpCache/PushRelationsTest.php b/tests/Functional/HttpCache/PushRelationsTest.php index 7d6899e557a..1a32195b9c3 100644 --- a/tests/Functional/HttpCache/PushRelationsTest.php +++ b/tests/Functional/HttpCache/PushRelationsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\HttpCache; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/HttpCache/TagCollectorTest.php b/tests/Functional/HttpCache/TagCollectorTest.php index 3a3c280b0c9..0b28158e511 100644 --- a/tests/Functional/HttpCache/TagCollectorTest.php +++ b/tests/Functional/HttpCache/TagCollectorTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\HttpCache; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ExtraPropertiesOnProperty; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Relation2; @@ -66,7 +66,7 @@ protected function setUp(): void * Returns a client that keeps the kernel alive between HTTP requests so the * tag_collector override registered in setUp survives across calls. */ - private function disableRebootClient(): \ApiPlatform\Symfony\Bundle\Test\Client + private function disableRebootClient(): \ApiPlatform\Test\Client { $client = self::createClient(); $client->getKernelBrowser()->disableReboot(); diff --git a/tests/Functional/InputOutputNameConverterTest.php b/tests/Functional/InputOutputNameConverterTest.php index 07dbde490fd..67e85258ac2 100644 --- a/tests/Functional/InputOutputNameConverterTest.php +++ b/tests/Functional/InputOutputNameConverterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DummyDtoNameConverted; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/IsGrantedTest.php b/tests/Functional/IsGrantedTest.php index 72c1cd10412..02997411fb9 100644 --- a/tests/Functional/IsGrantedTest.php +++ b/tests/Functional/IsGrantedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\IsGrantedTestResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Security\Core\User\InMemoryUser; diff --git a/tests/Functional/Issue5926Test.php b/tests/Functional/Issue5926Test.php index 2f3aa2e11c8..e1beae16942 100644 --- a/tests/Functional/Issue5926Test.php +++ b/tests/Functional/Issue5926Test.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5926\TestIssue5926; use ApiPlatform\Tests\SetupClassResourcesTrait; use PHPUnit\Framework\Attributes\DataProvider; diff --git a/tests/Functional/Json/InputOutputTest.php b/tests/Functional/Json/InputOutputTest.php index 61846f32f71..115ab628955 100644 --- a/tests/Functional/Json/InputOutputTest.php +++ b/tests/Functional/Json/InputOutputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Json; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\User; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Json/OutputAndEntityClassTest.php b/tests/Functional/Json/OutputAndEntityClassTest.php index 766de7c2fa6..65f04c9264b 100644 --- a/tests/Functional/Json/OutputAndEntityClassTest.php +++ b/tests/Functional/Json/OutputAndEntityClassTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Json; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6358\OutputAndEntityClass; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Json/RelationTest.php b/tests/Functional/Json/RelationTest.php index d56ea46c187..fe57dfe4521 100644 --- a/tests/Functional/Json/RelationTest.php +++ b/tests/Functional/Json/RelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Json; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationEmbedder; diff --git a/tests/Functional/JsonApi/AbsoluteUrlTest.php b/tests/Functional/JsonApi/AbsoluteUrlTest.php index 1566f03534c..dccad98d613 100644 --- a/tests/Functional/JsonApi/AbsoluteUrlTest.php +++ b/tests/Functional/JsonApi/AbsoluteUrlTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\AbsoluteUrlDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\AbsoluteUrlRelationDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/ClientGeneratedIdTest.php b/tests/Functional/JsonApi/ClientGeneratedIdTest.php index e4c5cf06a45..f12c0ec826a 100644 --- a/tests/Functional/JsonApi/ClientGeneratedIdTest.php +++ b/tests/Functional/JsonApi/ClientGeneratedIdTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\ClientGeneratedId; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/CollectionAttributesTest.php b/tests/Functional/JsonApi/CollectionAttributesTest.php index d19b84fa882..7a47c4efde4 100644 --- a/tests/Functional/JsonApi/CollectionAttributesTest.php +++ b/tests/Functional/JsonApi/CollectionAttributesTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\CircularReference; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/CollectionUriTemplateTest.php b/tests/Functional/JsonApi/CollectionUriTemplateTest.php index 8541a7de3a7..40a1cb00c2a 100644 --- a/tests/Functional/JsonApi/CollectionUriTemplateTest.php +++ b/tests/Functional/JsonApi/CollectionUriTemplateTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnly; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelationSecondLevel; diff --git a/tests/Functional/JsonApi/CrudTest.php b/tests/Functional/JsonApi/CrudTest.php index fb759b9b4af..33069cc9b77 100644 --- a/tests/Functional/JsonApi/CrudTest.php +++ b/tests/Functional/JsonApi/CrudTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationEmbedder; diff --git a/tests/Functional/JsonApi/EntrypointTest.php b/tests/Functional/JsonApi/EntrypointTest.php index ddc220247a5..d5b1419ee4d 100644 --- a/tests/Functional/JsonApi/EntrypointTest.php +++ b/tests/Functional/JsonApi/EntrypointTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\EntrypointDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/ErrorTest.php b/tests/Functional/JsonApi/ErrorTest.php index f665605f19f..1cf4f56efb8 100644 --- a/tests/Functional/JsonApi/ErrorTest.php +++ b/tests/Functional/JsonApi/ErrorTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\ErrorProblem; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiErrorTestResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/FilteringTest.php b/tests/Functional/JsonApi/FilteringTest.php index b44cb080998..a63c57be210 100644 --- a/tests/Functional/JsonApi/FilteringTest.php +++ b/tests/Functional/JsonApi/FilteringTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\FilteringDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\FilteringProperty; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/IdentifierModeTest.php b/tests/Functional/JsonApi/IdentifierModeTest.php index 2f34c41ea5a..42abdc89fa4 100644 --- a/tests/Functional/JsonApi/IdentifierModeTest.php +++ b/tests/Functional/JsonApi/IdentifierModeTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiNotExposedRelation; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiRelatedDummy; diff --git a/tests/Functional/JsonApi/InputDtoTest.php b/tests/Functional/JsonApi/InputDtoTest.php index b42bab554ff..1868e90acd5 100644 --- a/tests/Functional/JsonApi/InputDtoTest.php +++ b/tests/Functional/JsonApi/InputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiInputResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiRequiredFieldsResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/InputOutputTest.php b/tests/Functional/JsonApi/InputOutputTest.php index 7cb8c5aa4bb..5ee63ca24ca 100644 --- a/tests/Functional/JsonApi/InputOutputTest.php +++ b/tests/Functional/JsonApi/InputOutputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\CustomOutputResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/IriModeTest.php b/tests/Functional/JsonApi/IriModeTest.php index 429748ad16d..148229759d5 100644 --- a/tests/Functional/JsonApi/IriModeTest.php +++ b/tests/Functional/JsonApi/IriModeTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApiDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/ItemUriTemplateTest.php b/tests/Functional/JsonApi/ItemUriTemplateTest.php index d80ed9965b7..0bb34908271 100644 --- a/tests/Functional/JsonApi/ItemUriTemplateTest.php +++ b/tests/Functional/JsonApi/ItemUriTemplateTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\UriTemplateCar; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/NetworkPathTest.php b/tests/Functional/JsonApi/NetworkPathTest.php index d8b35fed8cb..7ae63258dbc 100644 --- a/tests/Functional/JsonApi/NetworkPathTest.php +++ b/tests/Functional/JsonApi/NetworkPathTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\NetworkPathDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\NetworkPathRelationDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/NonResourceTest.php b/tests/Functional/JsonApi/NonResourceTest.php index 9f925752f6d..6baf8194d40 100644 --- a/tests/Functional/JsonApi/NonResourceTest.php +++ b/tests/Functional/JsonApi/NonResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\NonRelationResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\NonResourceContainer; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\PlainObjectResource; diff --git a/tests/Functional/JsonApi/OrderingTest.php b/tests/Functional/JsonApi/OrderingTest.php index dbd6ca7480b..313be775b7c 100644 --- a/tests/Functional/JsonApi/OrderingTest.php +++ b/tests/Functional/JsonApi/OrderingTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\OrderingDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/PaginationTest.php b/tests/Functional/JsonApi/PaginationTest.php index a57eaff9368..2ac47dbca6e 100644 --- a/tests/Functional/JsonApi/PaginationTest.php +++ b/tests/Functional/JsonApi/PaginationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonApi\PaginationDummy; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonApi/RelatedResourcesInclusionTest.php b/tests/Functional/JsonApi/RelatedResourcesInclusionTest.php index b12ab711bfe..9468701f75f 100644 --- a/tests/Functional/JsonApi/RelatedResourcesInclusionTest.php +++ b/tests/Functional/JsonApi/RelatedResourcesInclusionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonApi; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyGroup; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyProperty; diff --git a/tests/Functional/JsonApiFlatPaginationTest.php b/tests/Functional/JsonApiFlatPaginationTest.php index 8766b2e1fa3..8abb76e9a8a 100644 --- a/tests/Functional/JsonApiFlatPaginationTest.php +++ b/tests/Functional/JsonApiFlatPaginationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/AbsolutePaginationTest.php b/tests/Functional/JsonLd/AbsolutePaginationTest.php index d117647a7e0..6074f3cf358 100644 --- a/tests/Functional/JsonLd/AbsolutePaginationTest.php +++ b/tests/Functional/JsonLd/AbsolutePaginationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\AbsolutePagedResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/AbsoluteUrlTest.php b/tests/Functional/JsonLd/AbsoluteUrlTest.php index e94c2e5ce35..dee4be6154e 100644 --- a/tests/Functional/JsonLd/AbsoluteUrlTest.php +++ b/tests/Functional/JsonLd/AbsoluteUrlTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\AbsoluteUrlChild; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\AbsoluteUrlParent; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/ContextOutputTest.php b/tests/Functional/JsonLd/ContextOutputTest.php index 07a6f4f9c82..fb9dba624b2 100644 --- a/tests/Functional/JsonLd/ContextOutputTest.php +++ b/tests/Functional/JsonLd/ContextOutputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\GenIdFalse; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6810\JsonLdContextOutput; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/ContextTest.php b/tests/Functional/JsonLd/ContextTest.php index 873e9d43a39..391abe3bb5a 100644 --- a/tests/Functional/JsonLd/ContextTest.php +++ b/tests/Functional/JsonLd/ContextTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\JsonLdContextDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\JsonLdContextRelation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/CursorPaginationDateTimeTest.php b/tests/Functional/JsonLd/CursorPaginationDateTimeTest.php index af75584313d..bb3afdfac97 100644 --- a/tests/Functional/JsonLd/CursorPaginationDateTimeTest.php +++ b/tests/Functional/JsonLd/CursorPaginationDateTimeTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue8085\DatedCursorDummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/CursorPaginationTest.php b/tests/Functional/JsonLd/CursorPaginationTest.php index dfa41f81198..56f84c67d8e 100644 --- a/tests/Functional/JsonLd/CursorPaginationTest.php +++ b/tests/Functional/JsonLd/CursorPaginationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SoMany; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/DisableIdGenerationTest.php b/tests/Functional/JsonLd/DisableIdGenerationTest.php index d0d9759bc27..7be7b49c3ce 100644 --- a/tests/Functional/JsonLd/DisableIdGenerationTest.php +++ b/tests/Functional/JsonLd/DisableIdGenerationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\DisableIdGenAnonymous; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/EntityClassWithDateTimeTest.php b/tests/Functional/JsonLd/EntityClassWithDateTimeTest.php index 5163f098908..14a7f1c1d1d 100644 --- a/tests/Functional/JsonLd/EntityClassWithDateTimeTest.php +++ b/tests/Functional/JsonLd/EntityClassWithDateTimeTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\EntityClassWithDateTime; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\EntityClassWithDateTime as EntityClassWithDateTimeEntity; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/JsonLd/EntrypointTest.php b/tests/Functional/JsonLd/EntrypointTest.php index 502f464557a..9f63ead3d7e 100644 --- a/tests/Functional/JsonLd/EntrypointTest.php +++ b/tests/Functional/JsonLd/EntrypointTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\JsonLdContextDummy; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\JsonLdContextRelation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/GenIdFalseTest.php b/tests/Functional/JsonLd/GenIdFalseTest.php index 7cedc762669..b9d9ebca5cd 100644 --- a/tests/Functional/JsonLd/GenIdFalseTest.php +++ b/tests/Functional/JsonLd/GenIdFalseTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\AggregateRating; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\GenIdFalse; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\GenIdFalse\LevelFirst; diff --git a/tests/Functional/JsonLd/HydraCollectionTest.php b/tests/Functional/JsonLd/HydraCollectionTest.php index e97add70b24..40db9a09eba 100644 --- a/tests/Functional/JsonLd/HydraCollectionTest.php +++ b/tests/Functional/JsonLd/HydraCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\CollectionNoPrefix; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\CollectionPagedResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\PaginationCapped; diff --git a/tests/Functional/JsonLd/HydraDocsTest.php b/tests/Functional/JsonLd/HydraDocsTest.php index 92bcd766405..dbef89ac70a 100644 --- a/tests/Functional/JsonLd/HydraDocsTest.php +++ b/tests/Functional/JsonLd/HydraDocsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\HydraDocsDeprecated; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\HydraDocsRelated; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\HydraDocsResource; diff --git a/tests/Functional/JsonLd/HydraErrorTest.php b/tests/Functional/JsonLd/HydraErrorTest.php index aadfdf41f6e..c21b3c2f1fa 100644 --- a/tests/Functional/JsonLd/HydraErrorTest.php +++ b/tests/Functional/JsonLd/HydraErrorTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\HydraErrorResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/HydraHideFromDocsTest.php b/tests/Functional/JsonLd/HydraHideFromDocsTest.php index c8806f883dd..8aae4c213c9 100644 --- a/tests/Functional/JsonLd/HydraHideFromDocsTest.php +++ b/tests/Functional/JsonLd/HydraHideFromDocsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\HideHydraClass; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\HideHydraOperation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/InheritanceIriTest.php b/tests/Functional/JsonLd/InheritanceIriTest.php index 36580c4d365..c67d3a321b2 100644 --- a/tests/Functional/JsonLd/InheritanceIriTest.php +++ b/tests/Functional/JsonLd/InheritanceIriTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5438\Contractor; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5438\Employee; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5438\Person; diff --git a/tests/Functional/JsonLd/InitializeInputTest.php b/tests/Functional/JsonLd/InitializeInputTest.php index 50f3b374a8d..900fac1a7d1 100644 --- a/tests/Functional/JsonLd/InitializeInputTest.php +++ b/tests/Functional/JsonLd/InitializeInputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\InitializeInput; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/InputDtoIriDenormalizationTest.php b/tests/Functional/JsonLd/InputDtoIriDenormalizationTest.php index 4d31a832a83..9d4d39e7e92 100644 --- a/tests/Functional/JsonLd/InputDtoIriDenormalizationTest.php +++ b/tests/Functional/JsonLd/InputDtoIriDenormalizationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue6465\Bar; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue6465\Foo; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/JsonLd/InputOutputDtoTest.php b/tests/Functional/JsonLd/InputOutputDtoTest.php index 45c40db9b26..af825ebb3ad 100644 --- a/tests/Functional/JsonLd/InputOutputDtoTest.php +++ b/tests/Functional/JsonLd/InputOutputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\CustomInputResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\CustomOutputResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\DummyCollectionDto; diff --git a/tests/Functional/JsonLd/InterfaceAsResourceTest.php b/tests/Functional/JsonLd/InterfaceAsResourceTest.php index 2875224c575..7c8d63fb6e7 100644 --- a/tests/Functional/JsonLd/InterfaceAsResourceTest.php +++ b/tests/Functional/JsonLd/InterfaceAsResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\InterfaceTaxon; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\InterfaceTaxonProduct; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/InterfaceDtoOutputTest.php b/tests/Functional/JsonLd/InterfaceDtoOutputTest.php index b34cb9a602d..0b41e76ad55 100644 --- a/tests/Functional/JsonLd/InterfaceDtoOutputTest.php +++ b/tests/Functional/JsonLd/InterfaceDtoOutputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\InterfaceDtoOutputResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/IriOnlyTest.php b/tests/Functional/JsonLd/IriOnlyTest.php index 723d24b3d16..796d3084c43 100644 --- a/tests/Functional/JsonLd/IriOnlyTest.php +++ b/tests/Functional/JsonLd/IriOnlyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\IriOnlyResource; use ApiPlatform\Tests\SetupClassResourcesTrait; use PHPUnit\Framework\Attributes\DataProvider; diff --git a/tests/Functional/JsonLd/ItemUriTemplateCollectionTest.php b/tests/Functional/JsonLd/ItemUriTemplateCollectionTest.php index 0f6f4df5ae1..4c74c450fa1 100644 --- a/tests/Functional/JsonLd/ItemUriTemplateCollectionTest.php +++ b/tests/Functional/JsonLd/ItemUriTemplateCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ItemUriTemplateWithCollection\Recipe; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ItemUriTemplateWithCollection\RecipeCollection; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Recipe as EntityRecipe; diff --git a/tests/Functional/JsonLd/ItemUriTemplateHydraTest.php b/tests/Functional/JsonLd/ItemUriTemplateHydraTest.php index 3646a55397e..144840d8fe8 100644 --- a/tests/Functional/JsonLd/ItemUriTemplateHydraTest.php +++ b/tests/Functional/JsonLd/ItemUriTemplateHydraTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\UriTemplateCar; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CollectionReferencingItem; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5662\Book; diff --git a/tests/Functional/JsonLd/ItemUriTemplateNotFoundTest.php b/tests/Functional/JsonLd/ItemUriTemplateNotFoundTest.php index b40907860c1..92c115325c1 100644 --- a/tests/Functional/JsonLd/ItemUriTemplateNotFoundTest.php +++ b/tests/Functional/JsonLd/ItemUriTemplateNotFoundTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6718\Organization; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/JsonSerializableTest.php b/tests/Functional/JsonLd/JsonSerializableTest.php index f859f9a562a..10138bd3f8a 100644 --- a/tests/Functional/JsonLd/JsonSerializableTest.php +++ b/tests/Functional/JsonLd/JsonSerializableTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\JsonSerializableResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/LinkedDataPlatformTest.php b/tests/Functional/JsonLd/LinkedDataPlatformTest.php index 5ad112b61c3..b16a10de2d4 100644 --- a/tests/Functional/JsonLd/LinkedDataPlatformTest.php +++ b/tests/Functional/JsonLd/LinkedDataPlatformTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DummyGetPostDeleteOperation; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/MaxDepthTest.php b/tests/Functional/JsonLd/MaxDepthTest.php index c5b0501475e..ef589dd6035 100644 --- a/tests/Functional/JsonLd/MaxDepthTest.php +++ b/tests/Functional/JsonLd/MaxDepthTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\MaxDepthResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/MessengerTest.php b/tests/Functional/JsonLd/MessengerTest.php index 0a3f0c7e560..bf296e8576a 100644 --- a/tests/Functional/JsonLd/MessengerTest.php +++ b/tests/Functional/JsonLd/MessengerTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\MessengerWithInput; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\MessengerWithResponse; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/MultiResourceContextTest.php b/tests/Functional/JsonLd/MultiResourceContextTest.php index ed729866cb2..4e7f4e46ae0 100644 --- a/tests/Functional/JsonLd/MultiResourceContextTest.php +++ b/tests/Functional/JsonLd/MultiResourceContextTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\MultiResourceEntity; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/NetworkPathTest.php b/tests/Functional/JsonLd/NetworkPathTest.php index b8b946115ec..fa18dc91a68 100644 --- a/tests/Functional/JsonLd/NetworkPathTest.php +++ b/tests/Functional/JsonLd/NetworkPathTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\NetworkPathParent; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\NetworkPathResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/NoOutputTest.php b/tests/Functional/JsonLd/NoOutputTest.php index c9bff3750e8..33a99322b59 100644 --- a/tests/Functional/JsonLd/NoOutputTest.php +++ b/tests/Functional/JsonLd/NoOutputTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\NoOutputMessage; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonLd/NonResourceTest.php b/tests/Functional/JsonLd/NonResourceTest.php index 941a1065e9e..a3bc4d19475 100644 --- a/tests/Functional/JsonLd/NonResourceTest.php +++ b/tests/Functional/JsonLd/NonResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\DateTimeOnlyResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\GenIdFalseProperty; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\NonRelationResource; diff --git a/tests/Functional/JsonLd/PolymorphicResourceCollectionTest.php b/tests/Functional/JsonLd/PolymorphicResourceCollectionTest.php index d1f28bb4437..96eaaa2e03a 100644 --- a/tests/Functional/JsonLd/PolymorphicResourceCollectionTest.php +++ b/tests/Functional/JsonLd/PolymorphicResourceCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7298\ImageModuleResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7298\PageResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7298\TitleModuleResource; diff --git a/tests/Functional/JsonLd/PropertyCollectionIriOnlyTest.php b/tests/Functional/JsonLd/PropertyCollectionIriOnlyTest.php index ec5f3dce0e7..d4f160e179a 100644 --- a/tests/Functional/JsonLd/PropertyCollectionIriOnlyTest.php +++ b/tests/Functional/JsonLd/PropertyCollectionIriOnlyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnly; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PropertyCollectionIriOnlyRelationSecondLevel; diff --git a/tests/Functional/JsonLd/RenamedGetterSetterTest.php b/tests/Functional/JsonLd/RenamedGetterSetterTest.php index 1f08a5818cb..cc0e45a7ca2 100644 --- a/tests/Functional/JsonLd/RenamedGetterSetterTest.php +++ b/tests/Functional/JsonLd/RenamedGetterSetterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\JsonLd; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\JsonLd\RenamedGetterSetter; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/JsonSchema/JsonApiJsonSchemaTest.php b/tests/Functional/JsonSchema/JsonApiJsonSchemaTest.php index 58601413036..1bacff3d23e 100644 --- a/tests/Functional/JsonSchema/JsonApiJsonSchemaTest.php +++ b/tests/Functional/JsonSchema/JsonApiJsonSchemaTest.php @@ -16,7 +16,7 @@ use ApiPlatform\JsonSchema\Schema; use ApiPlatform\JsonSchema\SchemaFactoryInterface; use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Animal; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\AnimalObservation; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6317\Issue6317; diff --git a/tests/Functional/JsonSchema/JsonLdJsonSchemaTest.php b/tests/Functional/JsonSchema/JsonLdJsonSchemaTest.php index a8ea9f28ac7..48eb605d8c3 100644 --- a/tests/Functional/JsonSchema/JsonLdJsonSchemaTest.php +++ b/tests/Functional/JsonSchema/JsonLdJsonSchemaTest.php @@ -15,7 +15,7 @@ use ApiPlatform\JsonSchema\SchemaFactoryInterface; use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7426\Boat; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5793\BagOfTests; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue6212\Nest; diff --git a/tests/Functional/JsonSchema/JsonSchemaTest.php b/tests/Functional/JsonSchema/JsonSchemaTest.php index da2da4d87bd..d6d5d12baad 100644 --- a/tests/Functional/JsonSchema/JsonSchemaTest.php +++ b/tests/Functional/JsonSchema/JsonSchemaTest.php @@ -16,8 +16,8 @@ use ApiPlatform\JsonSchema\Schema; use ApiPlatform\JsonSchema\SchemaFactoryInterface; use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; -use ApiPlatform\Symfony\Bundle\Test\Constraint\MatchesJsonSchema; +use ApiPlatform\Test\ApiTestCase; +use ApiPlatform\Test\Constraint\MatchesJsonSchema; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\AggregateRating; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ChildAttribute; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5452\Book; diff --git a/tests/Functional/JsonSchema/JsonSchemaWithDefaultParametersTest.php b/tests/Functional/JsonSchema/JsonSchemaWithDefaultParametersTest.php index 08a72968989..584aa23db53 100644 --- a/tests/Functional/JsonSchema/JsonSchemaWithDefaultParametersTest.php +++ b/tests/Functional/JsonSchema/JsonSchemaWithDefaultParametersTest.php @@ -15,7 +15,7 @@ use ApiPlatform\JsonSchema\SchemaFactoryInterface; use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5793\BagOfTests; /** diff --git a/tests/Functional/JsonStreamerTest.php b/tests/Functional/JsonStreamerTest.php index 7b0aedbe3a0..ba31780833a 100644 --- a/tests/Functional/JsonStreamerTest.php +++ b/tests/Functional/JsonStreamerTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\AggregateRating; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Product; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\JsonStreamResource; diff --git a/tests/Functional/ListenerTest.php b/tests/Functional/ListenerTest.php index 71488e78259..d787a0f56d8 100644 --- a/tests/Functional/ListenerTest.php +++ b/tests/Functional/ListenerTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7432\OriginalDataWithListeners; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/MappingTest.php b/tests/Functional/MappingTest.php index 35922ff4cff..f31cadb529a 100644 --- a/tests/Functional/MappingTest.php +++ b/tests/Functional/MappingTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\BookStoreResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\FirstResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7563\BookDto; diff --git a/tests/Functional/MathNumberTest.php b/tests/Functional/MathNumberTest.php index 04dab45903a..03666455e88 100644 --- a/tests/Functional/MathNumberTest.php +++ b/tests/Functional/MathNumberTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\MathNumber; use ApiPlatform\Tests\SetupClassResourcesTrait; use PHPUnit\Framework\Attributes\RequiresPhp; diff --git a/tests/Functional/McpSecurityTest.php b/tests/Functional/McpSecurityTest.php index cbeaa26ad58..d46a1606de4 100644 --- a/tests/Functional/McpSecurityTest.php +++ b/tests/Functional/McpSecurityTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\McpSecuredReference; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\McpSecuredTools; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/McpTest.php b/tests/Functional/McpTest.php index 5cff5220061..9ce3240909a 100644 --- a/tests/Functional/McpTest.php +++ b/tests/Functional/McpTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\McpResourceExample; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\McpToolAttribute; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\McpTools; diff --git a/tests/Functional/Mercure/MercureTest.php b/tests/Functional/Mercure/MercureTest.php index f9afa4a543b..08cbca31c7b 100644 --- a/tests/Functional/Mercure/MercureTest.php +++ b/tests/Functional/Mercure/MercureTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Mercure; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyMercure; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5074\MercureWithTopics; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\MercureWithTopicsAndGetOperation; diff --git a/tests/Functional/MongoDb/EmbedManyWithoutTargetDocumentTest.php b/tests/Functional/MongoDb/EmbedManyWithoutTargetDocumentTest.php index 6d4546c5148..c4159832464 100644 --- a/tests/Functional/MongoDb/EmbedManyWithoutTargetDocumentTest.php +++ b/tests/Functional/MongoDb/EmbedManyWithoutTargetDocumentTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\MongoDb; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DummyWithEmbedManyOmittingTargetDocument; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/MongoDb/NestedReferenceFilterErrorTest.php b/tests/Functional/MongoDb/NestedReferenceFilterErrorTest.php index 52275103792..d5c5a784269 100644 --- a/tests/Functional/MongoDb/NestedReferenceFilterErrorTest.php +++ b/tests/Functional/MongoDb/NestedReferenceFilterErrorTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\MongoDb; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FourthLevel; use ApiPlatform\Tests\Fixtures\TestBundle\Document\RelatedDummy; diff --git a/tests/Functional/MultipleResourceEntrypointTest.php b/tests/Functional/MultipleResourceEntrypointTest.php index 0277946deee..f664f1a1834 100644 --- a/tests/Functional/MultipleResourceEntrypointTest.php +++ b/tests/Functional/MultipleResourceEntrypointTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\MultipleResourceBook; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/NestedFilterTest.php b/tests/Functional/NestedFilterTest.php index c34bb770e75..cc525589afd 100644 --- a/tests/Functional/NestedFilterTest.php +++ b/tests/Functional/NestedFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilterNestedTest\FilterCompany; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilterNestedTest\FilterDepartment; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilterNestedTest\FilterEmployee; diff --git a/tests/Functional/NestedPatchTest.php b/tests/Functional/NestedPatchTest.php index c39485e9ad5..c89719008ae 100644 --- a/tests/Functional/NestedPatchTest.php +++ b/tests/Functional/NestedPatchTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Camp; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue6225\Bar6225; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue6225\Foo6225; diff --git a/tests/Functional/NotExposedTest.php b/tests/Functional/NotExposedTest.php index 58ab2f5d9ff..6fdaf09c034 100644 --- a/tests/Functional/NotExposedTest.php +++ b/tests/Functional/NotExposedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Model\Chair; use ApiPlatform\Tests\Fixtures\TestBundle\Model\Fork; use ApiPlatform\Tests\Fixtures\TestBundle\Model\Spoon; diff --git a/tests/Functional/NotSkipNullToOneRelationTest.php b/tests/Functional/NotSkipNullToOneRelationTest.php index c6943383d0c..e49a16172d7 100644 --- a/tests/Functional/NotSkipNullToOneRelationTest.php +++ b/tests/Functional/NotSkipNullToOneRelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue4372\RelatedEntity; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue4372\ToOneRelationPropertyMayBeNull; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/NullOnNonNullablePropertyTest.php b/tests/Functional/NullOnNonNullablePropertyTest.php index d6aa24c078f..3fba229b205 100644 --- a/tests/Functional/NullOnNonNullablePropertyTest.php +++ b/tests/Functional/NullOnNonNullablePropertyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\NullOnNonNullableProperty\NullOnNonNullableResource; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/ObjectMapperValidationTest.php b/tests/Functional/ObjectMapperValidationTest.php index 8726a3a4476..ecfdf7f4e4e 100644 --- a/tests/Functional/ObjectMapperValidationTest.php +++ b/tests/Functional/ObjectMapperValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\UniqueBookResource; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\UniqueBook; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/OpenApiNameConverterTest.php b/tests/Functional/OpenApiNameConverterTest.php index 2ff0828ca32..531849596f9 100644 --- a/tests/Functional/OpenApiNameConverterTest.php +++ b/tests/Functional/OpenApiNameConverterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue8143\ReferenceResponse; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Config\Loader\LoaderInterface; diff --git a/tests/Functional/OpenApiTest.php b/tests/Functional/OpenApiTest.php index 4dfd11a622b..bc0b6f6ecc2 100644 --- a/tests/Functional/OpenApiTest.php +++ b/tests/Functional/OpenApiTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ChildAttribute; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Crud; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\CrudOpenApiApiPlatformTag; diff --git a/tests/Functional/OperationResourceTest.php b/tests/Functional/OperationResourceTest.php index 826c4042bc6..419cd8b314e 100644 --- a/tests/Functional/OperationResourceTest.php +++ b/tests/Functional/OperationResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\OperationResource; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/OperationTest.php b/tests/Functional/OperationTest.php index a8e175d561d..f6e7606438d 100644 --- a/tests/Functional/OperationTest.php +++ b/tests/Functional/OperationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Book; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DisableItemOperation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\EmbeddableDummy; diff --git a/tests/Functional/OverriddenOperationTest.php b/tests/Functional/OverriddenOperationTest.php index b75adf724ec..51e6791aa71 100644 --- a/tests/Functional/OverriddenOperationTest.php +++ b/tests/Functional/OverriddenOperationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\OverriddenOperationDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RPC; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/PaginationDisabledTest.php b/tests/Functional/PaginationDisabledTest.php index 3fc59db32fe..e503b99e951 100644 --- a/tests/Functional/PaginationDisabledTest.php +++ b/tests/Functional/PaginationDisabledTest.php @@ -15,7 +15,7 @@ use ApiPlatform\JsonSchema\SchemaFactoryInterface; use ApiPlatform\Metadata\Operation\Factory\OperationMetadataFactoryInterface; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PaginationDisabledEntity; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/BooleanFilterTest.php b/tests/Functional/Parameters/BooleanFilterTest.php index a5dd382ac53..3bf33652f57 100644 --- a/tests/Functional/Parameters/BooleanFilterTest.php +++ b/tests/Functional/Parameters/BooleanFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredBooleanParameter as FilteredBooleanParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredBooleanParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/BooleanQueryParameterDefaultTest.php b/tests/Functional/Parameters/BooleanQueryParameterDefaultTest.php index ded635de0d9..d705b2750b3 100644 --- a/tests/Functional/Parameters/BooleanQueryParameterDefaultTest.php +++ b/tests/Functional/Parameters/BooleanQueryParameterDefaultTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\BooleanQueryParameterDefault\BooleanQueryParameterDefault; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/ComparisonFilterTest.php b/tests/Functional/Parameters/ComparisonFilterTest.php index 8caaef1e3dd..9f776e51b51 100644 --- a/tests/Functional/Parameters/ComparisonFilterTest.php +++ b/tests/Functional/Parameters/ComparisonFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/DateFilterTest.php b/tests/Functional/Parameters/DateFilterTest.php index dfe9a56be38..9d3e9b40c56 100644 --- a/tests/Functional/Parameters/DateFilterTest.php +++ b/tests/Functional/Parameters/DateFilterTest.php @@ -15,7 +15,7 @@ use ApiPlatform\Doctrine\Orm\Filter\AbstractFilter; use ApiPlatform\Doctrine\Orm\Filter\DateFilter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredDateParameter as FilteredDateParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredDateParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/DoctrineTest.php b/tests/Functional/Parameters/DoctrineTest.php index d81e92f23c3..df316ce41fc 100644 --- a/tests/Functional/Parameters/DoctrineTest.php +++ b/tests/Functional/Parameters/DoctrineTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\FilterWithStateOptions; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\FilterWithStateOptionsAndNoApiFilter; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ExactAndComparisonParameter; diff --git a/tests/Functional/Parameters/EmbeddedPartialSearchFilterTest.php b/tests/Functional/Parameters/EmbeddedPartialSearchFilterTest.php index 54b8833a991..34aab02658f 100644 --- a/tests/Functional/Parameters/EmbeddedPartialSearchFilterTest.php +++ b/tests/Functional/Parameters/EmbeddedPartialSearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\PostCard as DocumentPostCard; use ApiPlatform\Tests\Fixtures\TestBundle\Document\PostCardAddress as DocumentPostCardAddress; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\PostCard; diff --git a/tests/Functional/Parameters/EndSearchFilterTest.php b/tests/Functional/Parameters/EndSearchFilterTest.php index a6e45d1e576..657ac331133 100644 --- a/tests/Functional/Parameters/EndSearchFilterTest.php +++ b/tests/Functional/Parameters/EndSearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/ExactFilterTest.php b/tests/Functional/Parameters/ExactFilterTest.php index 534163f081e..2aa34705813 100644 --- a/tests/Functional/Parameters/ExactFilterTest.php +++ b/tests/Functional/Parameters/ExactFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/ExistsFilterTest.php b/tests/Functional/Parameters/ExistsFilterTest.php index 18b20d4fbfa..dfe7bc22a8a 100644 --- a/tests/Functional/Parameters/ExistsFilterTest.php +++ b/tests/Functional/Parameters/ExistsFilterTest.php @@ -15,7 +15,7 @@ use ApiPlatform\Doctrine\Orm\Filter\AbstractFilter; use ApiPlatform\Doctrine\Orm\Filter\ExistsFilter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredExistsParameter as FilteredExistsParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredExistsParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/FreeTextQueryFilterNestedTest.php b/tests/Functional/Parameters/FreeTextQueryFilterNestedTest.php index fa7e8f84b85..ef59b98b1e0 100644 --- a/tests/Functional/Parameters/FreeTextQueryFilterNestedTest.php +++ b/tests/Functional/Parameters/FreeTextQueryFilterNestedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FreeTextArticle as DocumentFreeTextArticle; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FreeTextTag as DocumentFreeTextTag; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FreeTextArticle; diff --git a/tests/Functional/Parameters/FreeTextQueryFilterTest.php b/tests/Functional/Parameters/FreeTextQueryFilterTest.php index b09f8c6ef47..8e592e1fb00 100644 --- a/tests/Functional/Parameters/FreeTextQueryFilterTest.php +++ b/tests/Functional/Parameters/FreeTextQueryFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/HydraTest.php b/tests/Functional/Parameters/HydraTest.php index f2a29361ca9..bdd1ea9a973 100644 --- a/tests/Functional/Parameters/HydraTest.php +++ b/tests/Functional/Parameters/HydraTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WithParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/IriFilterRelationsTest.php b/tests/Functional/Parameters/IriFilterRelationsTest.php index cf050a02dfe..350054bbb39 100644 --- a/tests/Functional/Parameters/IriFilterRelationsTest.php +++ b/tests/Functional/Parameters/IriFilterRelationsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\IriFilterRelationsTest\Author; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\IriFilterRelationsTest\Biography; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\IriFilterRelationsTest\Book; diff --git a/tests/Functional/Parameters/IriFilterScalarEnumTest.php b/tests/Functional/Parameters/IriFilterScalarEnumTest.php index 34ddcc14f08..341753d1d55 100644 --- a/tests/Functional/Parameters/IriFilterScalarEnumTest.php +++ b/tests/Functional/Parameters/IriFilterScalarEnumTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\IriFilterScalarEnum\Game as DocumentGame; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\IriFilterScalarEnum\Game; use ApiPlatform\Tests\Fixtures\TestBundle\Enum\GamePlayMode; diff --git a/tests/Functional/Parameters/IriFilterTest.php b/tests/Functional/Parameters/IriFilterTest.php index d91537ce0a8..e91ecb88b08 100644 --- a/tests/Functional/Parameters/IriFilterTest.php +++ b/tests/Functional/Parameters/IriFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Chicken; diff --git a/tests/Functional/Parameters/IriProviderParameterTest.php b/tests/Functional/Parameters/IriProviderParameterTest.php index f878c43b0ee..ece9ed547ea 100644 --- a/tests/Functional/Parameters/IriProviderParameterTest.php +++ b/tests/Functional/Parameters/IriProviderParameterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WithParameter; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Issue7913IriFilterCustomIdentifierTest.php b/tests/Functional/Parameters/Issue7913IriFilterCustomIdentifierTest.php index c4d02ed3c74..39fe8635e03 100644 --- a/tests/Functional/Parameters/Issue7913IriFilterCustomIdentifierTest.php +++ b/tests/Functional/Parameters/Issue7913IriFilterCustomIdentifierTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Issue7913\Agent as DocumentAgent; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Issue7913\Mail as DocumentMail; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Issue7916NestedFilterOnNonResourceTest.php b/tests/Functional/Parameters/Issue7916NestedFilterOnNonResourceTest.php index 77f0240aa55..63f19f01c48 100644 --- a/tests/Functional/Parameters/Issue7916NestedFilterOnNonResourceTest.php +++ b/tests/Functional/Parameters/Issue7916NestedFilterOnNonResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7916\UserActionResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7916\UserActionResourceOdm; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7916\UserResource; diff --git a/tests/Functional/Parameters/Legacy/AttributeFilterLegacyTest.php b/tests/Functional/Parameters/Legacy/AttributeFilterLegacyTest.php index 57c105e6a0e..b7ecc29b275 100644 --- a/tests/Functional/Parameters/Legacy/AttributeFilterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/AttributeFilterLegacyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Legacy\FilteredAttributeParameter as FilteredAttributeParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\FilteredAttributeParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Legacy/BackedEnumFilterLegacyTest.php b/tests/Functional/Parameters/Legacy/BackedEnumFilterLegacyTest.php index 9111ff689ee..cd707f41d2a 100644 --- a/tests/Functional/Parameters/Legacy/BackedEnumFilterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/BackedEnumFilterLegacyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\IntegerBackedEnum; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\StringBackedEnum; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\DummyForBackedEnumFilter; diff --git a/tests/Functional/Parameters/Legacy/BooleanFilterLegacyTest.php b/tests/Functional/Parameters/Legacy/BooleanFilterLegacyTest.php index 27b6e818eb0..0103a17e5ee 100644 --- a/tests/Functional/Parameters/Legacy/BooleanFilterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/BooleanFilterLegacyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Legacy\FilteredBooleanParameter as FilteredBooleanParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\FilteredBooleanParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Legacy/NumericFilterLegacyTest.php b/tests/Functional/Parameters/Legacy/NumericFilterLegacyTest.php index 2c17aa56537..f0ab278de74 100644 --- a/tests/Functional/Parameters/Legacy/NumericFilterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/NumericFilterLegacyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Legacy\FilteredNumericParameter as FilteredNumericParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\FilteredNumericParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Legacy/OrderFilterLegacyTest.php b/tests/Functional/Parameters/Legacy/OrderFilterLegacyTest.php index 69a0ede780e..290c3ff1990 100644 --- a/tests/Functional/Parameters/Legacy/OrderFilterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/OrderFilterLegacyTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; use ApiPlatform\Doctrine\Odm\Filter\OrderFilter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Legacy\FilteredOrderParameter as FilteredOrderParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\FilteredOrderParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/Legacy/SearchFilterParameterLegacyTest.php b/tests/Functional/Parameters/Legacy/SearchFilterParameterLegacyTest.php index f41abf0128d..9c78eea8061 100644 --- a/tests/Functional/Parameters/Legacy/SearchFilterParameterLegacyTest.php +++ b/tests/Functional/Parameters/Legacy/SearchFilterParameterLegacyTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters\Legacy; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Legacy\SearchFilterParameter as SearchFilterParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Legacy\SearchFilterParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/LinkProviderParameterTest.php b/tests/Functional/Parameters/LinkProviderParameterTest.php index cd7ef7d5a4e..cda462cafc6 100644 --- a/tests/Functional/Parameters/LinkProviderParameterTest.php +++ b/tests/Functional/Parameters/LinkProviderParameterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7469TestResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7939BarResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7939BazResource; diff --git a/tests/Functional/Parameters/NameConverterFilterTest.php b/tests/Functional/Parameters/NameConverterFilterTest.php index 4b65c321d13..327d76cd6f1 100644 --- a/tests/Functional/Parameters/NameConverterFilterTest.php +++ b/tests/Functional/Parameters/NameConverterFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedDateParameter as ConvertedDateParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ConvertedDateParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/NameConverterModernFilterTest.php b/tests/Functional/Parameters/NameConverterModernFilterTest.php index a2f3c939141..d87c092fa8e 100644 --- a/tests/Functional/Parameters/NameConverterModernFilterTest.php +++ b/tests/Functional/Parameters/NameConverterModernFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ConvertedFilterParameter as ConvertedFilterParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ConvertedFilterParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/NestedNonResourceRelationFilterTest.php b/tests/Functional/Parameters/NestedNonResourceRelationFilterTest.php index 9954c6a239c..251c671a8eb 100644 --- a/tests/Functional/Parameters/NestedNonResourceRelationFilterTest.php +++ b/tests/Functional/Parameters/NestedNonResourceRelationFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\NonResourceRelation as DocumentNonResourceRelation; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ResourceWithNonResourceRelation as DocumentResourceWithNonResourceRelation; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\NonResourceRelation; diff --git a/tests/Functional/Parameters/NumericFilterTest.php b/tests/Functional/Parameters/NumericFilterTest.php index bcae5ab1930..be4083aada4 100644 --- a/tests/Functional/Parameters/NumericFilterTest.php +++ b/tests/Functional/Parameters/NumericFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredNumericParameter as FilteredNumericParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredNumericParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/OrFilterTest.php b/tests/Functional/Parameters/OrFilterTest.php index cc0893e3dc6..57f56f9c253 100644 --- a/tests/Functional/Parameters/OrFilterTest.php +++ b/tests/Functional/Parameters/OrFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Chicken; diff --git a/tests/Functional/Parameters/OrderFilterTest.php b/tests/Functional/Parameters/OrderFilterTest.php index e53942f5dfa..1a1794297b1 100644 --- a/tests/Functional/Parameters/OrderFilterTest.php +++ b/tests/Functional/Parameters/OrderFilterTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; use ApiPlatform\Doctrine\Odm\Filter\OrderFilter; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredOrderParameter as FilteredOrderParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredOrderParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/ParameterProviderTest.php b/tests/Functional/Parameters/ParameterProviderTest.php index 89b95914fdf..2fdb75364aa 100644 --- a/tests/Functional/Parameters/ParameterProviderTest.php +++ b/tests/Functional/Parameters/ParameterProviderTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6673\MutlipleParameterProvider; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/ParameterTest.php b/tests/Functional/Parameters/ParameterTest.php index 6a0ef794261..32dd657598a 100644 --- a/tests/Functional/Parameters/ParameterTest.php +++ b/tests/Functional/Parameters/ParameterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\TranslateValidationError; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WithParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/PartialSearchFilterTest.php b/tests/Functional/Parameters/PartialSearchFilterTest.php index 3a2bebe66da..f681d52d3e2 100644 --- a/tests/Functional/Parameters/PartialSearchFilterTest.php +++ b/tests/Functional/Parameters/PartialSearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/QueryParameterStateOptionsTest.php b/tests/Functional/Parameters/QueryParameterStateOptionsTest.php index 6c2cdd384e5..bc0b34ec339 100644 --- a/tests/Functional/Parameters/QueryParameterStateOptionsTest.php +++ b/tests/Functional/Parameters/QueryParameterStateOptionsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\AgentApi; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResourceOdm\AgentDocumentApi; use ApiPlatform\Tests\Fixtures\TestBundle\Document\AgentDocument; diff --git a/tests/Functional/Parameters/RangeFilterTest.php b/tests/Functional/Parameters/RangeFilterTest.php index 0ad31aa5c29..82a32fec6ff 100644 --- a/tests/Functional/Parameters/RangeFilterTest.php +++ b/tests/Functional/Parameters/RangeFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilteredRangeParameter as FilteredRangeParameterDocument; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\FilteredRangeParameter; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Parameters/SecurityTest.php b/tests/Functional/Parameters/SecurityTest.php index 955c9cb7a96..77345c4ff27 100644 --- a/tests/Functional/Parameters/SecurityTest.php +++ b/tests/Functional/Parameters/SecurityTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WithSecurityParameter; use ApiPlatform\Tests\SetupClassResourcesTrait; use PHPUnit\Framework\Attributes\DataProvider; diff --git a/tests/Functional/Parameters/SortFilterTest.php b/tests/Functional/Parameters/SortFilterTest.php index fb0bad15f97..4b6bc47bd33 100644 --- a/tests/Functional/Parameters/SortFilterTest.php +++ b/tests/Functional/Parameters/SortFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilterNestedTest\FilterCompany as DocumentFilterCompany; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilterNestedTest\FilterDepartment as DocumentFilterDepartment; use ApiPlatform\Tests\Fixtures\TestBundle\Document\FilterNestedTest\FilterEmployee as DocumentFilterEmployee; diff --git a/tests/Functional/Parameters/StartSearchFilterTest.php b/tests/Functional/Parameters/StartSearchFilterTest.php index fda860ec295..aae501c06d8 100644 --- a/tests/Functional/Parameters/StartSearchFilterTest.php +++ b/tests/Functional/Parameters/StartSearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/Parameters/StrictParametersTest.php b/tests/Functional/Parameters/StrictParametersTest.php index 3a973b8338c..22152665800 100644 --- a/tests/Functional/Parameters/StrictParametersTest.php +++ b/tests/Functional/Parameters/StrictParametersTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\StrictParameters; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Parameters/ValidationTest.php b/tests/Functional/Parameters/ValidationTest.php index 7c243edd679..d5067a3b6fa 100644 --- a/tests/Functional/Parameters/ValidationTest.php +++ b/tests/Functional/Parameters/ValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\TranslateValidationError; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ValidateParameterBeforeProvider; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\WithParameter; diff --git a/tests/Functional/Parameters/WordStartSearchFilterTest.php b/tests/Functional/Parameters/WordStartSearchFilterTest.php index 00edaf0ecad..2a01325b980 100644 --- a/tests/Functional/Parameters/WordStartSearchFilterTest.php +++ b/tests/Functional/Parameters/WordStartSearchFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Parameters; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Chicken as DocumentChicken; use ApiPlatform\Tests\Fixtures\TestBundle\Document\ChickenCoop as DocumentChickenCoop; use ApiPlatform\Tests\Fixtures\TestBundle\Document\Owner as DocumentOwner; diff --git a/tests/Functional/PatchTest.php b/tests/Functional/PatchTest.php index c78fc9720aa..5011154d9b1 100644 --- a/tests/Functional/PatchTest.php +++ b/tests/Functional/PatchTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5736\Alpha; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5736\Beta; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue6355\OrderProductCount; diff --git a/tests/Functional/ProviderProcessorEntityTest.php b/tests/Functional/ProviderProcessorEntityTest.php index ec0697814f5..9d016771a86 100644 --- a/tests/Functional/ProviderProcessorEntityTest.php +++ b/tests/Functional/ProviderProcessorEntityTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ProcessorEntity; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ProviderEntity; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/PutCollectionTest.php b/tests/Functional/PutCollectionTest.php index f5f76ddd419..9e6111f93a9 100644 --- a/tests/Functional/PutCollectionTest.php +++ b/tests/Functional/PutCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5587\Business; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5587\Employee; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/RelationTest.php b/tests/Functional/RelationTest.php index 8fc88a1648b..a32da51cad1 100644 --- a/tests/Functional/RelationTest.php +++ b/tests/Functional/RelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Address; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Customer; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; diff --git a/tests/Functional/Security/ContentNegotiationErrorsTest.php b/tests/Functional/Security/ContentNegotiationErrorsTest.php index e02bfa88145..20373d14929 100644 --- a/tests/Functional/Security/ContentNegotiationErrorsTest.php +++ b/tests/Functional/Security/ContentNegotiationErrorsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Security/SecurityHeadersTest.php b/tests/Functional/Security/SecurityHeadersTest.php index 30793614cd3..d880d7ae332 100644 --- a/tests/Functional/Security/SecurityHeadersTest.php +++ b/tests/Functional/Security/SecurityHeadersTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Security/StrongTypingTest.php b/tests/Functional/Security/StrongTypingTest.php index 78a906b94dc..605ed373332 100644 --- a/tests/Functional/Security/StrongTypingTest.php +++ b/tests/Functional/Security/StrongTypingTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedOwnedDummy; diff --git a/tests/Functional/Security/TypeConfusionRelationIriTest.php b/tests/Functional/Security/TypeConfusionRelationIriTest.php index 82d8c8a4545..b8dd9ae293e 100644 --- a/tests/Functional/Security/TypeConfusionRelationIriTest.php +++ b/tests/Functional/Security/TypeConfusionRelationIriTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Security; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\TypeConfusion\Bar; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\TypeConfusion\Foo; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\TypeConfusion\Target; diff --git a/tests/Functional/SecurityPropertyInputDtoTest.php b/tests/Functional/SecurityPropertyInputDtoTest.php index cbbef5d9141..a62a977a468 100644 --- a/tests/Functional/SecurityPropertyInputDtoTest.php +++ b/tests/Functional/SecurityPropertyInputDtoTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\DummyDtoSecuredInput; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\Security\Core\User\InMemoryUser; diff --git a/tests/Functional/Serializer/ConstructorDeserializationTest.php b/tests/Functional/Serializer/ConstructorDeserializationTest.php index d8439a9cfe5..bc445a89679 100644 --- a/tests/Functional/Serializer/ConstructorDeserializationTest.php +++ b/tests/Functional/Serializer/ConstructorDeserializationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyEntityWithConstructor; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Serializer/DynamicGroupsTest.php b/tests/Functional/Serializer/DynamicGroupsTest.php index 70bb7de98bd..4944d84e838 100644 --- a/tests/Functional/Serializer/DynamicGroupsTest.php +++ b/tests/Functional/Serializer/DynamicGroupsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationGroupImpactOnCollection; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationGroupImpactOnCollectionRelation; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Serializer/EmptyArrayAsObjectTest.php b/tests/Functional/Serializer/EmptyArrayAsObjectTest.php index 876a7237056..ae94b53b995 100644 --- a/tests/Functional/Serializer/EmptyArrayAsObjectTest.php +++ b/tests/Functional/Serializer/EmptyArrayAsObjectTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Model\EmptyArrayAsObject; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Serializer/GroupFilterTest.php b/tests/Functional/Serializer/GroupFilterTest.php index 6540516b346..163e48b88b7 100644 --- a/tests/Functional/Serializer/GroupFilterTest.php +++ b/tests/Functional/Serializer/GroupFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyGroup; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Serializer/GroupsRelatedTest.php b/tests/Functional/Serializer/GroupsRelatedTest.php index bd178b68c05..f57e56cbb09 100644 --- a/tests/Functional/Serializer/GroupsRelatedTest.php +++ b/tests/Functional/Serializer/GroupsRelatedTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationGroupImpactOnCollection; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationGroupImpactOnCollectionRelation; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Serializer/NestedRelationUpdateTest.php b/tests/Functional/Serializer/NestedRelationUpdateTest.php index b141096b1f8..521e0aa5a5c 100644 --- a/tests/Functional/Serializer/NestedRelationUpdateTest.php +++ b/tests/Functional/Serializer/NestedRelationUpdateTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\NestedRelationPatch\NestedDataPool; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\NestedRelationPatch\NestedDataPoolStartup; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\NestedRelationPatch\NestedStartup; diff --git a/tests/Functional/Serializer/NullableToManyRelationTest.php b/tests/Functional/Serializer/NullableToManyRelationTest.php index 0c6955fbc50..ab6500622c4 100644 --- a/tests/Functional/Serializer/NullableToManyRelationTest.php +++ b/tests/Functional/Serializer/NullableToManyRelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\NullableToManyRelation\NullableToManyChild; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\NullableToManyRelation\NullableToManyParent; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Serializer/PropertyFilterTest.php b/tests/Functional/Serializer/PropertyFilterTest.php index 4c152293362..40f2d037275 100644 --- a/tests/Functional/Serializer/PropertyFilterTest.php +++ b/tests/Functional/Serializer/PropertyFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyGroup; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyProperty; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Serializer/ValueObjectRelationsTest.php b/tests/Functional/Serializer/ValueObjectRelationsTest.php index 00d4bfa6af2..3ecbb444888 100644 --- a/tests/Functional/Serializer/ValueObjectRelationsTest.php +++ b/tests/Functional/Serializer/ValueObjectRelationsTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Serializer; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\VoDummyCar; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\VoDummyDriver; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\VoDummyInspection; diff --git a/tests/Functional/StandardPutTest.php b/tests/Functional/StandardPutTest.php index e3910a89c94..8585ab84eed 100644 --- a/tests/Functional/StandardPutTest.php +++ b/tests/Functional/StandardPutTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\StandardPut; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\UidIdentified; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/SubResource/MultipleRelationTest.php b/tests/Functional/SubResource/MultipleRelationTest.php index f81b23074aa..e0be9698fd9 100644 --- a/tests/Functional/SubResource/MultipleRelationTest.php +++ b/tests/Functional/SubResource/MultipleRelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\SubResource; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelationMultiple; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/SubResource/SubResourceTest.php b/tests/Functional/SubResource/SubResourceTest.php index f9bc7d0363c..ffd6ad194aa 100644 --- a/tests/Functional/SubResource/SubResourceTest.php +++ b/tests/Functional/SubResource/SubResourceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\SubResource; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\SubresourceBike; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\SubresourceCategory; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Answer; diff --git a/tests/Functional/SubResource/SubResourceWithoutGetTest.php b/tests/Functional/SubResource/SubResourceWithoutGetTest.php index cc8e42880f4..0035476a528 100644 --- a/tests/Functional/SubResource/SubResourceWithoutGetTest.php +++ b/tests/Functional/SubResource/SubResourceWithoutGetTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\SubResource; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5722\Event; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5722\ItemLog; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/TableInheritanceTest.php b/tests/Functional/TableInheritanceTest.php index 20e0189f116..0c3ffecd368 100644 --- a/tests/Functional/TableInheritanceTest.php +++ b/tests/Functional/TableInheritanceTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\AbstractUser; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyTableInheritance; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyTableInheritanceChild; diff --git a/tests/Functional/ThrowOnNotFoundTest.php b/tests/Functional/ThrowOnNotFoundTest.php index 060f1cedf46..97aa72da85b 100644 --- a/tests/Functional/ThrowOnNotFoundTest.php +++ b/tests/Functional/ThrowOnNotFoundTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ThrowOnNotFound\Feeder; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/UnionIntersectTypesTest.php b/tests/Functional/UnionIntersectTypesTest.php index 3d04fe4ad47..43e39ed1a49 100644 --- a/tests/Functional/UnionIntersectTypesTest.php +++ b/tests/Functional/UnionIntersectTypesTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5452\Author; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5452\Book; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5452\Library; diff --git a/tests/Functional/UnionIriCollectionTest.php b/tests/Functional/UnionIriCollectionTest.php index b8c53720adc..58d83c302a3 100644 --- a/tests/Functional/UnionIriCollectionTest.php +++ b/tests/Functional/UnionIriCollectionTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\UnionIriCollection\Bar; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\UnionIriCollection\Container; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\UnionIriCollection\Foo; diff --git a/tests/Functional/UrlEncodedIdTest.php b/tests/Functional/UrlEncodedIdTest.php index aba8e157671..ec29ccd2f0e 100644 --- a/tests/Functional/UrlEncodedIdTest.php +++ b/tests/Functional/UrlEncodedIdTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\UrlEncodedId; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Uuid/UuidComparisonFilterTest.php b/tests/Functional/Uuid/UuidComparisonFilterTest.php index 016d617c706..2673d6dee39 100644 --- a/tests/Functional/Uuid/UuidComparisonFilterTest.php +++ b/tests/Functional/Uuid/UuidComparisonFilterTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Uuid; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Uuid\SymfonyUuidDevice; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Uuid\SymfonyUuidDeviceEndpoint; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/Uuid/UuidFilterBaseTestCase.php b/tests/Functional/Uuid/UuidFilterBaseTestCase.php index 7068423e967..8cba186b5f2 100644 --- a/tests/Functional/Uuid/UuidFilterBaseTestCase.php +++ b/tests/Functional/Uuid/UuidFilterBaseTestCase.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Uuid; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Functional/Uuid/UuidFilterWithCustomSchemaTest.php b/tests/Functional/Uuid/UuidFilterWithCustomSchemaTest.php index 3db038da67b..416feae55d5 100644 --- a/tests/Functional/Uuid/UuidFilterWithCustomSchemaTest.php +++ b/tests/Functional/Uuid/UuidFilterWithCustomSchemaTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Uuid; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Uuid\UuidFilterWithCustomSchema; use ApiPlatform\Tests\RecreateSchemaTrait; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/Uuid/UuidIdentifierTest.php b/tests/Functional/Uuid/UuidIdentifierTest.php index 943131ccf3c..25702a7791b 100644 --- a/tests/Functional/Uuid/UuidIdentifierTest.php +++ b/tests/Functional/Uuid/UuidIdentifierTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Uuid; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\CustomGeneratedIdentifier; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RamseyUuidDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\SymfonyUuidDummy; diff --git a/tests/Functional/Uuid/UuidIriRelationTest.php b/tests/Functional/Uuid/UuidIriRelationTest.php index b7252f6ee93..08274a4c329 100644 --- a/tests/Functional/Uuid/UuidIriRelationTest.php +++ b/tests/Functional/Uuid/UuidIriRelationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Uuid; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\UuidIriRelation\Bar; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\UuidIriRelation\Foo; use ApiPlatform\Tests\RecreateSchemaTrait; diff --git a/tests/Functional/ValidateProcessorTest.php b/tests/Functional/ValidateProcessorTest.php index a1e0e650c88..4b32bf34cc7 100644 --- a/tests/Functional/ValidateProcessorTest.php +++ b/tests/Functional/ValidateProcessorTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\ValidateOnce; use ApiPlatform\Tests\Fixtures\TestBundle\Validator\CountableConstraintValidator; use ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/ValidationGroupsTest.php b/tests/Functional/ValidationGroupsTest.php index ee2bc3cb5a5..991186beee4 100644 --- a/tests/Functional/ValidationGroupsTest.php +++ b/tests/Functional/ValidationGroupsTest.php @@ -17,7 +17,7 @@ use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyValidationSerializedName; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue5912\Dummy as Issue5912Dummy; -final class ValidationGroupsTest extends \ApiPlatform\Symfony\Bundle\Test\ApiTestCase +final class ValidationGroupsTest extends \ApiPlatform\Test\ApiTestCase { use \ApiPlatform\Tests\RecreateSchemaTrait; use \ApiPlatform\Tests\SetupClassResourcesTrait; diff --git a/tests/Functional/ValidationTest.php b/tests/Functional/ValidationTest.php index 7c9f4c214a0..2cf85725424 100644 --- a/tests/Functional/ValidationTest.php +++ b/tests/Functional/ValidationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue7228\ValidationGroupSequence; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyWithCollectDenormalizationErrors; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; diff --git a/tests/Functional/Xml/DeserializationTest.php b/tests/Functional/Xml/DeserializationTest.php index 3ef98f016cf..10df4a1a2ae 100644 --- a/tests/Functional/Xml/DeserializationTest.php +++ b/tests/Functional/Xml/DeserializationTest.php @@ -13,7 +13,7 @@ namespace ApiPlatform\Tests\Functional\Xml; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\DummyProperty; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ResourceWithBoolean; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\ResourceWithFloat; diff --git a/tests/Symfony/Bundle/DependencyInjection/Compiler/TestClientPassTest.php b/tests/Symfony/Bundle/DependencyInjection/Compiler/TestClientPassTest.php index 37284d9f824..3409af97d3a 100644 --- a/tests/Symfony/Bundle/DependencyInjection/Compiler/TestClientPassTest.php +++ b/tests/Symfony/Bundle/DependencyInjection/Compiler/TestClientPassTest.php @@ -14,7 +14,7 @@ namespace ApiPlatform\Tests\Symfony\Bundle\DependencyInjection\Compiler; use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\TestClientPass; -use ApiPlatform\Symfony\Bundle\Test\Client; +use ApiPlatform\Test\Client; use PHPUnit\Framework\TestCase; use Prophecy\Argument; use Prophecy\PhpUnit\ProphecyTrait; diff --git a/tests/Symfony/Bundle/Test/ApiTestCaseTest.php b/tests/Test/ApiTestCaseTest.php similarity index 99% rename from tests/Symfony/Bundle/Test/ApiTestCaseTest.php rename to tests/Test/ApiTestCaseTest.php index 3756bb92998..25db9ac193a 100644 --- a/tests/Symfony/Bundle/Test/ApiTestCaseTest.php +++ b/tests/Test/ApiTestCaseTest.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace ApiPlatform\Tests\Symfony\Bundle\Test; +namespace ApiPlatform\Tests\Test; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; +use ApiPlatform\Test\ApiTestCase; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\Issue5921\ExceptionResource; use ApiPlatform\Tests\Fixtures\TestBundle\ApiResource\OperationPriorities; use ApiPlatform\Tests\Fixtures\TestBundle\Document\DirectMercure as DirectMercureDocument; diff --git a/tests/Symfony/Bundle/Test/ClientTest.php b/tests/Test/ClientTest.php similarity index 97% rename from tests/Symfony/Bundle/Test/ClientTest.php rename to tests/Test/ClientTest.php index 9fb196f87ce..15cebe5009d 100644 --- a/tests/Symfony/Bundle/Test/ClientTest.php +++ b/tests/Test/ClientTest.php @@ -11,10 +11,10 @@ declare(strict_types=1); -namespace ApiPlatform\Tests\Symfony\Bundle\Test; +namespace ApiPlatform\Tests\Test; -use ApiPlatform\Symfony\Bundle\Test\ApiTestCase; -use ApiPlatform\Symfony\Bundle\Test\Response; +use ApiPlatform\Test\ApiTestCase; +use ApiPlatform\Test\Response; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\Dummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedDummy; use ApiPlatform\Tests\Fixtures\TestBundle\Entity\RelatedOwnedDummy; diff --git a/tests/Symfony/Bundle/Test/Constraint/ArraySubsetTest.php b/tests/Test/Constraint/ArraySubsetTest.php similarity index 97% rename from tests/Symfony/Bundle/Test/Constraint/ArraySubsetTest.php rename to tests/Test/Constraint/ArraySubsetTest.php index f24d4e0fd5b..a7560875188 100644 --- a/tests/Symfony/Bundle/Test/Constraint/ArraySubsetTest.php +++ b/tests/Test/Constraint/ArraySubsetTest.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace ApiPlatform\Tests\Symfony\Bundle\Test\Constraint; +namespace ApiPlatform\Tests\Test\Constraint; -use ApiPlatform\Symfony\Bundle\Test\Constraint\ArraySubset; +use ApiPlatform\Test\Constraint\ArraySubset; use ApiPlatform\Tests\Fixtures\ArrayAccessible; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\ExpectationFailedException; diff --git a/tests/Symfony/Bundle/Test/Constraint/MatchesJsonSchemaTest.php b/tests/Test/Constraint/MatchesJsonSchemaTest.php similarity index 88% rename from tests/Symfony/Bundle/Test/Constraint/MatchesJsonSchemaTest.php rename to tests/Test/Constraint/MatchesJsonSchemaTest.php index 48cb8fe3e2e..5477301b565 100644 --- a/tests/Symfony/Bundle/Test/Constraint/MatchesJsonSchemaTest.php +++ b/tests/Test/Constraint/MatchesJsonSchemaTest.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace ApiPlatform\Tests\Symfony\Bundle\Test\Constraint; +namespace ApiPlatform\Tests\Test\Constraint; -use ApiPlatform\Symfony\Bundle\Test\Constraint\MatchesJsonSchema; +use ApiPlatform\Test\Constraint\MatchesJsonSchema; use PHPUnit\Framework\ExpectationFailedException; use PHPUnit\Framework\TestCase; diff --git a/tests/Symfony/Bundle/Test/ResponseTest.php b/tests/Test/ResponseTest.php similarity index 98% rename from tests/Symfony/Bundle/Test/ResponseTest.php rename to tests/Test/ResponseTest.php index b8b3276e41f..9dcc78bf827 100644 --- a/tests/Symfony/Bundle/Test/ResponseTest.php +++ b/tests/Test/ResponseTest.php @@ -11,9 +11,9 @@ declare(strict_types=1); -namespace ApiPlatform\Tests\Symfony\Bundle\Test; +namespace ApiPlatform\Tests\Test; -use ApiPlatform\Symfony\Bundle\Test\Response; +use ApiPlatform\Test\Response; use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\TestCase; use Symfony\Component\BrowserKit\Response as BrowserKitResponse;