diff --git a/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandler.php b/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandler.php index 2a8257622..d9c1b13e5 100644 --- a/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandler.php +++ b/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandler.php @@ -59,7 +59,7 @@ public function handle(DeletePublishedProductionEntityCommand $command) } if ($response !== DeleteManageEntityRepository::RESULT_SUCCESS) { - throw new EntityNotDeletedException('Deleting the entity yielded an non success response'); + throw new EntityNotDeletedException('Deleting the entity yielded a non success response'); } } } diff --git a/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandler.php b/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandler.php index 59f2c6ea8..7f2d212d5 100644 --- a/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandler.php +++ b/src/Surfnet/ServiceProviderDashboard/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandler.php @@ -56,7 +56,7 @@ public function handle(DeletePublishedTestEntityCommand $command) } if ($response !== DeleteManageEntityRepository::RESULT_SUCCESS) { - throw new EntityNotDeletedException('Deleting the entity yielded an non success response'); + throw new EntityNotDeletedException('Deleting the entity yielded a non success response'); } } } diff --git a/tests/integration/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandlerTest.php b/tests/integration/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandlerTest.php index c406d1f81..81d953dfd 100644 --- a/tests/integration/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandlerTest.php +++ b/tests/integration/Application/CommandHandler/Entity/DeletePublishedProductionEntityCommandHandlerTest.php @@ -92,7 +92,7 @@ public function test_it_handles_non_error_responses() $this->logger ->shouldReceive('info'); - $this->expectExceptionMessage("Deleting the entity yielded an non success response"); + $this->expectExceptionMessage("Deleting the entity yielded a non success response"); $this->expectException(EntityNotDeletedException::class); $this->commandHandler->handle($command); } diff --git a/tests/integration/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandlerTest.php b/tests/integration/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandlerTest.php index 90c6a6090..4493150f0 100644 --- a/tests/integration/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandlerTest.php +++ b/tests/integration/Application/CommandHandler/Entity/DeletePublishedTestEntityCommandHandlerTest.php @@ -88,7 +88,7 @@ public function test_it_handles_non_error_responses() $this->logger ->shouldReceive('info'); - $this->expectExceptionMessage("Deleting the entity yielded an non success response"); + $this->expectExceptionMessage("Deleting the entity yielded a non success response"); $this->expectException( \Surfnet\ServiceProviderDashboard\Application\Exception\EntityNotDeletedException::class );