Skip to content

Commit

Permalink
[CC-1576] Fix transaction type in preautorization test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryouzanpaku committed Oct 29, 2024
1 parent c3bfac3 commit d3bcddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/TransactionTypes/PreAuthorizationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function requestAuthorizationShouldAcceptAllParameters(): void
$invoiceId = 'i' . self::generateRandomId();
$paymentReference = 'paymentReference';

$preauth = new Authorization(119.0, 'EUR', self::RETURN_URL);
$preauth = new PreAuthorization(119.0, 'EUR', self::RETURN_URL);
$preauth->setRecurrenceType(RecurrenceTypes::ONE_CLICK, $card)
->setOrderId($orderId)
->setInvoiceId($invoiceId)
Expand Down

0 comments on commit d3bcddd

Please sign in to comment.