Skip to content

Commit

Permalink
Changed endpoint fo customer/echo
Browse files Browse the repository at this point in the history
  • Loading branch information
janlanger committed Nov 14, 2019
1 parent 58a33e2 commit f4414e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Call/CustomerInfoRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(
public function send(ApiClient $apiClient): CustomerInfoResponse
{
$response = $apiClient->get(
'customer/info/{merchantId}/{customerId}/{dttm}/{signature}',
'customer/echo/{merchantId}/{customerId}/{dttm}/{signature}',
[
'merchantId' => $this->merchantId,
'customerId' => $this->customerId,
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Call/CustomerInfoRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function testSend(): void
->getMock();

$apiClient->expects(self::once())->method('get')
->with('customer/info/{merchantId}/{customerId}/{dttm}/{signature}', [
->with('customer/echo/{merchantId}/{customerId}/{dttm}/{signature}', [
'merchantId' => '012345',
'customerId' => 'cust123@mail.com',
])
Expand Down

0 comments on commit f4414e7

Please sign in to comment.