-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add code coverage for WooCommerce block integration #463
Merged
aashishgurung
merged 23 commits into
woocommerce_block_support
from
wc_blocks_code_coverage
Jun 10, 2024
Merged
Add code coverage for WooCommerce block integration #463
aashishgurung
merged 23 commits into
woocommerce_block_support
from
wc_blocks_code_coverage
Jun 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tearDown visibility to protected from public. Fixing failed test for class-omise-payment-duitnow-obw.php.
…omise-woocommerce into wc_blocks_code_coverage
aashishgurung
requested review from
gaurab13,
vault087,
mmkittisak,
AnasNaouchi and
a team
June 5, 2024 08:15
AnasNaouchi
approved these changes
Jun 7, 2024
mmkittisak
approved these changes
Jun 7, 2024
aashishgurung
added a commit
that referenced
this pull request
Sep 6, 2024
* Make Card and Promptpay compatible to WC blocks. (#452) * Added blocks ralted code for credit card and promptpay. * WC block integration in progress. * Resolved WC block integration issue by removing the is_avaialable() implementation from class-omise-payment.php. * Integrating card and promptpay to WC blocks. * Remove unwanted file and update test. * Moving out the CredCard component to a separate file. * Fix issue of token and remember not receiving on the server side. * Resolve the issue of saved card not being displayed. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrating one click APMs to WooCommerce blocks. (#453) * Added blocks ralted code for credit card and promptpay. * WC block integration in progress. * Resolved WC block integration issue by removing the is_avaialable() implementation from class-omise-payment.php. * Integrating card and promptpay to WC blocks. * Remove unwanted file and update test. * Moving out the CredCard component to a separate file. * Integrating Alipay and Alipay plus to WC block in progress. * Integrated one click APMs for TH, JP, SG and MY to WC blocks. * Fix issue of token and remember not receiving on the server side. * Resolve the issue of saved card not being displayed. * Removed unnecessary promptpay entry from webpack. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate mobile payment to WooCommerce blocks (#454) * Added blocks ralted code for credit card and promptpay. * WC block integration in progress. * Resolved WC block integration issue by removing the is_avaialable() implementation from class-omise-payment.php. * Integrating card and promptpay to WC blocks. * Remove unwanted file and update test. * Moving out the CredCard component to a separate file. * Integrating Alipay and Alipay plus to WC block in progress. * Integrated one click APMs for TH, JP, SG and MY to WC blocks. * Created backend and frontend for mobile banking WC blocks integration.WIP * Update frontend to pass selected bank to the server side. * Fix issue of token and remember not receiving on the server side. * Resolve the issue of saved card not being displayed. * Fix the formatting in omise-block-mobilebanking.php --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate installment payment with WC blocks (#455) * Integrated installment with WC blocks. * Set terms to null if bank is changed. * removed commented if statement --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate FPX payment with WC blocks (#456) * Integrated installment with WC blocks. * Set terms to null if bank is changed. * removed commented if statement * Integrated FPX with WC blocks. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate Atome payment with WC blocks (#457) * Integrated installment with WC blocks. * Set terms to null if bank is changed. * removed commented if statement * Integrated FPX with WC blocks. * Integrated Atome payment with WC blocks. * Formating code. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate TrueMoney payment with WC blocks (#458) * Integrated installment with WC blocks. * Set terms to null if bank is changed. * removed commented if statement * Integrated FPX with WC blocks. * Integrated Atome payment with WC blocks. * Integrate Truemoney payment with WC block. * Fix test --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate GooglePay with WC blocks (#459) * Integrate GooglePay with WC blocks. * Added googlepay React package. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate Internet banking with WC blocks (#460) * Integrate GooglePay with WC blocks. * Added googlepay React package. * Integrate Internet banking with WC blocks --------- Co-authored-by: Aashish <aashish@omise.co> * Integrated DuitNow OBW with WC blocks (#461) * Integrate GooglePay with WC blocks. * Added googlepay React package. * Integrate Internet banking with WC blocks * Integrated DuitNow OBW with WC blocks --------- Co-authored-by: Aashish <aashish@omise.co> * Add code coverage for WooCommerce block integration (#463) * Integrate GooglePay with WC blocks. * Added googlepay React package. * Integrate Internet banking with WC blocks * Integrated DuitNow OBW with WC blocks * Covering abstract-omise-block-apm.php with tests. Changing setUp and tearDown visibility to protected from public. Fixing failed test for class-omise-payment-duitnow-obw.php. * Fixing broken tests. * Add test coverage for abstract-omise-block-payment.php. * Add test coverage for class-omise-payment-googlepay.php * More test coverage for class-omise-payment-googlepay.php * Resolving issues raised by SonarCloud. * Add test coverage for omise-block-credit-card.php * Add more tests for omise-block-credit-card.php and class-omise-payment-creditcard.php * Add test coverage for omise-block-mobilebanking-test.php * Add test coverage for omise-block-installment.php * Add code coverage for omise-block.php * Add code coverage for omise-block-payments.php. Refactored few tests * Add code coverage of class-omise-payment-installment.php * Add code coverage for omise-block-config.php * Fix some issues. * Add code coverage for omise-block-duitnow-obw.php and omise-block-fpx.php * Fixing SonarCloud issues. * Added back the logic to check the availability of payment method. --------- Co-authored-by: Aashish <aashish@omise.co> * Integrate Konbini to WC blocks. (#464) Co-authored-by: Aashish <aashish@omise.co> * Fix save card option for WooCommerce block (#469) * Fixed save card in WC block. * Prevent the embedded card function to be triggered meant for non WC block when WC block is not enabled. * Adding embedded card JS in WC block separately. * Fix test in omise-block-credit-card-test.php. * Add missing constant in test. --------- Co-authored-by: Aashish <aashish@omise.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add code coverage for WooCommerce block integration
Rollback procedure
default rollback procedure