refactor: split buspro ApiClient into domain clients

This commit is contained in:
fromme committed 2026-10-02 13:55:30 +02:00
1 parent 0a55544ca8
commit b755a6f43e
52 files changed
+805 -695

No files matched your search

@@ -4,7 +4,7 @@ declare(strict_types=1);
namespace App\Tests\Controller\Booking\Edit;
use App\BusProNet\ApiClient;
use App\BusProNet\Client\AccountClient;
use App\BusProNet\Model\Booking;
use App\BusProNet\Model\Insurance;
use App\BusProNet\Model\Travel;
@@ -87,7 +87,7 @@ class ParticipantControllerTest extends TestCase
->with($user, 42, $bookingDto);
$prepopulationService = new ParticipantDataPrefiller(
$this->createStub(ApiClient::class),
$this->createStub(AccountClient::class),
$this->createStub(Crypt::class),
$this->createStub(LoggerInterface::class),
);
@@ -231,7 +231,7 @@ class ParticipantControllerTest extends TestCase
->willReturn($context);
$prepopulationService = new ParticipantDataPrefiller(
$this->createStub(ApiClient::class),
$this->createStub(AccountClient::class),
$this->createStub(Crypt::class),
$this->createStub(LoggerInterface::class),
);
@@ -331,7 +331,7 @@ class ParticipantControllerTest extends TestCase
$this->createStub(BookingConfigurator::class),
$bookingSessionService,
new ParticipantDataPrefiller(
$this->createStub(ApiClient::class),
$this->createStub(AccountClient::class),
$this->createStub(Crypt::class),
$this->createStub(LoggerInterface::class),
),
@@ -409,7 +409,7 @@ class ParticipantControllerTest extends TestCase
$this->createStub(BookingConfigurator::class),
$bookingSessionService,
new ParticipantDataPrefiller(
$this->createStub(ApiClient::class),
$this->createStub(AccountClient::class),
$this->createStub(Crypt::class),
$this->createStub(LoggerInterface::class),
),