Skip to content

Commit

Permalink
OXDEV-7472 Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hkreuter committed Sep 22, 2023
1 parent 15b3a45 commit 3021013
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Integration/Customer/Service/CustomerServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function testDeleteCustomerNotPossible(): void
$container->get(CustomerRepository::class),
$authenticationMock,
$legacyServiceMock,
$container->get(Authorization::class)
new Authorization()
);

$this->expectException(CustomerNotDeletable::class);
Expand Down
3 changes: 2 additions & 1 deletion tests/Integration/Service/BasketServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

namespace OxidEsales\GraphQL\Storefront\Tests\Integration\Service;

use OxidEsales\EshopCommunity\Internal\Transition\Utility\ContextInterface;
use TheCodingMachine\GraphQLite\Types\ID;
use OxidEsales\EshopCommunity\Internal\Framework\Database\QueryBuilderFactoryInterface;
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
Expand Down Expand Up @@ -58,7 +59,7 @@ public function testGetBasketDeliveryMethodsEvent(): void
$container->get(BasketRepository::class),
$container->get(Authentication::class),
new Authorization(),
$container->get(Legacy::class),
new Legacy($container->get(ContextInterface::class)),
$container->get(BasketInfrastructure::class),
$container->get(ProductService::class),
$container->get(SharedInfrastructure::class),
Expand Down

0 comments on commit 3021013

Please sign in to comment.