diff --git a/tests/Http/Place/UpdateAddressRequestHandlerTest.php b/tests/Http/Place/UpdateAddressRequestHandlerTest.php index e8c1a9b305..409464cdd5 100644 --- a/tests/Http/Place/UpdateAddressRequestHandlerTest.php +++ b/tests/Http/Place/UpdateAddressRequestHandlerTest.php @@ -18,8 +18,6 @@ use CultuurNet\UDB3\Language; use CultuurNet\UDB3\Model\ValueObject\Geography\CountryCode; use CultuurNet\UDB3\Place\Commands\UpdateAddress; -use CultuurNet\UDB3\ReadModel\InMemoryDocumentRepository; -use CultuurNet\UDB3\ReadModel\JsonDocument; use InvalidArgumentException; use PHPUnit\Framework\TestCase; @@ -40,12 +38,6 @@ protected function setUp(): void { $this->commandBus = new TraceableCommandBus(); - $placeDocumentRepository = new InMemoryDocumentRepository(); - - $placeDocumentRepository->save( - new JsonDocument(self::PLACE_ID, '{}') - ); - $this->updateAddressRequestHandler = new UpdateAddressRequestHandler( $this->commandBus );