Skip to content

Commit f5f15f5

Browse files
committed
fix tests and fix one duplciate function
1 parent 7dca642 commit f5f15f5

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

src/Requests/PaymentBluemRequest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,6 @@ public function setPaymentMethodToCarteBancaire(): self
287287
return $this;
288288
}
289289

290-
public function setPaymentMethodToBancontact(): self
291-
{
292-
$this->setPaymentMethod($this->context::PAYMENT_METHOD_BANCONTACT);
293-
return $this;
294-
}
295-
296290
public function setPaymentMethodToGiropay(): self
297291
{
298292
$this->setPaymentMethod($this->context::PAYMENT_METHOD_GIROPAY);
@@ -305,7 +299,6 @@ public function setPaymentMethodToBancontact(): self
305299
return $this;
306300
}
307301

308-
309302
/**
310303
* @throws InvalidBluemRequestException
311304
*/

tests/Acceptance/PaymentsAcceptanceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function testPaymentRequestXmlUsesSandboxSampleData(): void
3939
'<Currency>EUR</Currency>',
4040
'<Amount>12.34</Amount>',
4141
'<DueDateTime>2026-04-12T00:00:00.000Z</DueDateTime>',
42-
'<DebtorReturnURL automaticRedirect="1">http://localhost:8000/?a=callback?entranceCode=PAYMENT-ENTRANCE-123&amp;transactionID=TRANS123</DebtorReturnURL>',
42+
'<DebtorReturnURL automaticRedirect="1">http://localhost:8000/?a=callback&amp;entranceCode=PAYMENT-ENTRANCE-123&amp;transactionID=TRANS123</DebtorReturnURL>',
4343
'<DebtorWallet>',
4444
'<Bancontact>',
4545
);

0 commit comments

Comments
 (0)