Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Update test/integration/CustomerTest.php
Browse files Browse the repository at this point in the history
Co-Authored-By: David Owusu <[email protected]>
  • Loading branch information
Simon Gabriel and Ryouzanpaku authored Jun 6, 2019
1 parent 4648e5a commit 75ef46f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/CustomerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ public function customerShouldBeFetchedByCustomerIdAndUpdatedIfItAlreadyExists()
try {
// fetch non-existing customer by customerId
$this->heidelpay->fetchCustomerByExtCustomerId($customerId);
$this->assertTrue(false, 'Exception should be thrown here.');
} catch (HeidelpayApiException $e) {
$this->assertEquals($e->getCode(), ApiResponseCodes::API_ERROR_CUSTOMER_CAN_NOT_BE_FOUND);
}
Expand Down

0 comments on commit 75ef46f

Please sign in to comment.