mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 09:55:52 +03:00
[PR #66] [MERGED] Refactor methods for better testing #189
Labels
No labels
PayFlexV4
TROY
akbankpos
bug
duplicate
enhancement
garanti
help wanted
isbank
kuveyt
payten
posnet
pull-request
vakifbank
ziraat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pos#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mewebstudio/pos/pull/66
Author: @nuryagdym
Created: 4/15/2022
Status: ✅ Merged
Merged: 4/15/2022
Merged by: @nuryagdym
Base:
master← Head:refactor-methods-for-better-testing📝 Commits (4)
4c150f2update some methods to be more testable1da93c2examples - fix ykb urle7ee663replaced card types with constantsa283159added unit tests for some credit cards📊 Changes
27 files changed (+322 additions, -121 deletions)
View changed files
📝
examples/akbank/_payment_config.php(+2 -1)📝
examples/finansbank-payfor/_payment_config.php(+2 -1)📝
examples/garanti/_payment_config.php(+2 -1)📝
examples/interpos/_payment_config.php(+3 -2)📝
examples/vakifbank/_payment_config.php(+2 -1)📝
examples/ykb/3d/_config.php(+1 -1)📝
examples/ykb/_payment_config.php(+2 -1)📝
src/Entity/Card/AbstractCreditCard.php(+5 -0)📝
src/Entity/Card/CreditCardEstPos.php(+2 -2)📝
src/Entity/Card/CreditCardInterPos.php(+3 -3)📝
src/Entity/Card/CreditCardVakifBank.php(+4 -4)📝
src/Gateways/AbstractGateway.php(+15 -13)📝
src/Gateways/EstPos.php(+11 -15)📝
src/Gateways/GarantiPos.php(+10 -12)📝
src/Gateways/InterPos.php(+12 -14)📝
src/Gateways/PayForPos.php(+9 -12)📝
src/Gateways/PosNet.php(+13 -18)📝
src/Gateways/VakifBankPos.php(+8 -8)📝
src/PosInterface.php(+11 -6)📝
tests/Entity/Card/CreditCardEstPosTest.php(+2 -1)...and 7 more files
📄 Description
$requestparameter to make3DPayment(), make3DPayPayment(), make3DHostPayment() methods to make them more testable🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.