Skip to content

Commit

Permalink
Test: fix cancel recurrent payment
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Mar 6, 2023
1 parent 1f60992 commit 1c6848b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Cases/unit/Service/PaymentService.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ test(function (): void {
->makePartial()
->shouldAllowMockingProtectedMethods();
$service->shouldReceive('makeRequest')
->with('POST', 'payments/payment/10001/void-recurrence')
->with('POST', 'payments/payment/10001/void-recurrence', null, Http::CONTENT_FORM)
->andReturn($response);

Assert::type(Response::class, $service->cancelRecurrentPayment('10001'));
Expand Down

0 comments on commit 1c6848b

Please sign in to comment.