Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

payment urls #28

Merged
merged 5 commits into from
Sep 30, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
stan fix
AlexKratky committed Sep 27, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f8b2eb53919a4e029a3ccaacea20ae5df0c90c78
8 changes: 4 additions & 4 deletions tests/Mocks/Service/ApiMockService.php
Original file line number Diff line number Diff line change
@@ -350,7 +350,7 @@ public function getActivePaymentMethods(LanguageCode $languageCode = null)
*
* @return array<PaymentMethodWithPayUrl>
*/
public function getPaymentUrlsForPayment(Identifier $uid, ?LanguageCode $languageCode = null)
public function getPaymentUrlsForPayment(Identifier $uid, LanguageCode $languageCode = null)
{
return array(
0 => new PaymentMethodWithPayUrl(
@@ -368,7 +368,7 @@ public function getPaymentUrlsForPayment(Identifier $uid, ?LanguageCode $languag
'src' => 'http://localhost:8000/img/payment_methods/test_online.png',
),
'url' => 'http://localhost:8000/' . $uid->__toString() . '/update?payment_method_code=test_online',
),
)
),
1 => new PaymentMethodWithPayUrl(
array(
@@ -384,7 +384,7 @@ public function getPaymentUrlsForPayment(Identifier $uid, ?LanguageCode $languag
'src' => 'http://localhost:8000/img/payment_methods/test_offline.png',
),
'url' => 'http://localhost:8000/' . $uid->__toString() . '/update?payment_method_code=test_offline',
),
)
),
2 => new PaymentMethodWithPayUrl(
array(
@@ -403,7 +403,7 @@ public function getPaymentUrlsForPayment(Identifier $uid, ?LanguageCode $languag
'src' => 'http://localhost:8000/img/payment_methods/card.png',
),
'url' => 'http://localhost:8000/' . $uid->__toString() . '/update?payment_method_code=card',
),
)
),
);
}