Skip to content

Commit 1c6848b

Browse files
committed
Test: fix cancel recurrent payment
1 parent 1f60992 commit 1c6848b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Cases/unit/Service/PaymentService.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ test(function (): void {
247247
->makePartial()
248248
->shouldAllowMockingProtectedMethods();
249249
$service->shouldReceive('makeRequest')
250-
->with('POST', 'payments/payment/10001/void-recurrence')
250+
->with('POST', 'payments/payment/10001/void-recurrence', null, Http::CONTENT_FORM)
251251
->andReturn($response);
252252

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

0 commit comments

Comments
 (0)