chore: update tests to adopt recent changes

This commit is contained in:
Björn Fromme
2026-04-03 13:49:50 +02:00
parent f0594ba09c
commit be0c9d67bb
2 changed files with 4 additions and 26 deletions
+4
View File
@@ -7,6 +7,7 @@ namespace App\Tests\Command;
use App\BusProNet\XmlLoader\TravelLoader;
use App\Command\BpnXmlSyncCommand;
use App\Service\TravelDataService;
use App\Service\TravelSnapshotService;
use League\Flysystem\DirectoryListing;
use League\Flysystem\FilesystemOperator;
use PHPUnit\Framework\TestCase;
@@ -23,6 +24,7 @@ class BpnXmlSyncCommandTest extends TestCase
private LoggerInterface $logger;
private TravelLoader $travelLoader;
private TravelDataService $travelDataService;
private TravelSnapshotService $travelSnapshotService;
private BpnXmlSyncCommand $command;
protected function tearDown(): void
@@ -41,6 +43,7 @@ class BpnXmlSyncCommandTest extends TestCase
$this->logger = $this->createMock(LoggerInterface::class);
$this->travelLoader = $this->createMock(TravelLoader::class);
$this->travelDataService = $this->createMock(TravelDataService::class);
$this->travelSnapshotService = $this->createMock(TravelSnapshotService::class);
$this->command = new BpnXmlSyncCommand(
$this->xmlSource,
@@ -49,6 +52,7 @@ class BpnXmlSyncCommandTest extends TestCase
$this->logger,
$this->travelLoader,
$this->travelDataService,
$this->travelSnapshotService,
);
}