chore: reorganizing

This commit is contained in:
thibaud-leclere
2026-04-01 19:24:04 +02:00
parent 0e3b17bb7d
commit 087b063f1f
10 changed files with 20 additions and 19 deletions

View File

@@ -2,14 +2,14 @@
declare(strict_types=1);
namespace App\Tests\Service;
namespace App\Tests\Import;
use App\Entity\Actor;
use App\Entity\Award;
use App\Entity\AwardType;
use App\Gateway\WikidataGateway;
use App\Repository\AwardTypeRepository;
use App\Service\AwardImporter;
use App\Import\AwardImporter;
use Doctrine\ORM\EntityManagerInterface;
use PHPUnit\Framework\TestCase;

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace App\Tests\Service;
namespace App\Tests\Provider;
use App\Entity\Actor;
use App\Entity\Award;
@@ -12,11 +12,11 @@ use App\Repository\ActorRepository;
use App\Repository\AwardRepository;
use App\Repository\MovieRepository;
use App\Repository\MovieRoleRepository;
use App\Service\GameGridGenerator;
use App\Provider\GameGridProvider;
use Doctrine\ORM\EntityManagerInterface;
use PHPUnit\Framework\TestCase;
class GameGridGeneratorTest extends TestCase
class GameGridProviderTest extends TestCase
{
public function testResolveHintTextForAward(): void
{
@@ -35,7 +35,7 @@ class GameGridGeneratorTest extends TestCase
$awardRepository = $this->createMock(AwardRepository::class);
$awardRepository->method('find')->with(42)->willReturn($award);
$generator = new GameGridGenerator(
$generator = new GameGridProvider(
$this->createMock(ActorRepository::class),
$this->createMock(MovieRoleRepository::class),
$this->createMock(MovieRepository::class),