@@ -206,7 +206,7 @@ Here is an example of functional tests specifying the behavior of
206206
207207namespace App\Tests;
208208
209- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
209+ use ApiPlatform\Test\ApiTestCase;
210210use App\Entity\Book;
211211use App\Factory\BookFactory;
212212use Zenstruck\Foundry\Test\Factories;
@@ -461,7 +461,7 @@ To use the testing client, your test class must extend the `ApiTestCase` class:
461461
462462namespace App\Tests;
463463
464- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
464+ use ApiPlatform\Test\ApiTestCase;
465465
466466class BooksTest extends ApiTestCase
467467{
@@ -486,8 +486,8 @@ Json Web Token authentication:
486486// api/tests/AbstractTest.php
487487namespace App\Tests;
488488
489- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
490- use ApiPlatform\Symfony\Bundle\ Test\Client;
489+ use ApiPlatform\Test\ApiTestCase;
490+ use ApiPlatform\Test\Client;
491491use Hautelook\AliceBundle\PhpUnit\RefreshDatabaseTrait;
492492
493493abstract class AbstractTest extends ApiTestCase
@@ -571,7 +571,7 @@ Platform provides convenient PHPUnit assertions dedicated to API testing:
571571
572572namespace App\Tests;
573573
574- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
574+ use ApiPlatform\Test\ApiTestCase;
575575
576576class MyTest extends ApiTestCase
577577{
@@ -608,7 +608,7 @@ There is also a method to find the IRI matching a given resource and some criter
608608
609609namespace App\Tests;
610610
611- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
611+ use ApiPlatform\Test\ApiTestCase;
612612
613613class BooksTest extends ApiTestCase
614614{
@@ -633,7 +633,7 @@ documents...) can be used out of the box with the API Platform test client:
633633
634634namespace App\Tests;
635635
636- use ApiPlatform\Symfony\Bundle\ Test\ApiTestCase;
636+ use ApiPlatform\Test\ApiTestCase;
637637
638638class BooksTest extends ApiTestCase
639639{
0 commit comments