test: use KernelTestCase instead of ApiTestCase

This commit is contained in:
Maël Gangloff
2025-10-22 22:13:40 +02:00
parent 57952b3e33
commit 2d07dce1ae
2 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,6 @@ declare(strict_types=1);
namespace App\Tests\Entity;
use ApiPlatform\Symfony\Bundle\Test\ApiTestCase;
use App\Entity\Domain;
use App\Entity\DomainEvent;
use App\Entity\DomainStatus;
@@ -16,9 +15,10 @@ use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Exception\ORMException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\DependsExternal;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Uid\UuidV4;
class DomainTest extends ApiTestCase
class DomainTest extends KernelTestCase
{
public function testIsRedemptionPeriod(): void
{