Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Jun 13, 2023
1 parent 6ff8429 commit 390bd41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Test/Integration/Controller/Api/WebhookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ public function testAcceptsPost()
$paymentEndpointMock->method('get')->willThrowException(new ApiException('Invalid transaction (Test)'));

/** @var Mollie $mollie */
$mollie = $this->_objectManager->get(Mollie::class);
$api = $mollie->getMollieApi();
$api = new MollieApiClient();
$api->payments = $paymentEndpointMock;

$mollieMock = $this->createMock(Mollie::class);
Expand Down

0 comments on commit 390bd41

Please sign in to comment.