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

Add code coverage for WooCommerce block integration #463

Merged
merged 23 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f9b4826
Integrate GooglePay with WC blocks.
May 28, 2024
f8dc006
Added googlepay React package.
May 29, 2024
c6216e3
Integrate Internet banking with WC blocks
May 29, 2024
bb5264b
Integrated DuitNow OBW with WC blocks
May 29, 2024
df9b16a
Covering abstract-omise-block-apm.php with tests. Changing setUp and …
May 30, 2024
f6a8fba
Fixing broken tests.
May 30, 2024
985943c
Add test coverage for abstract-omise-block-payment.php.
May 30, 2024
dafd646
Add test coverage for class-omise-payment-googlepay.php
May 30, 2024
db76c20
More test coverage for class-omise-payment-googlepay.php
May 30, 2024
35e23be
Resolving issues raised by SonarCloud.
May 30, 2024
254585c
Add test coverage for omise-block-credit-card.php
May 31, 2024
5185363
Add more tests for omise-block-credit-card.php and class-omise-payme…
May 31, 2024
9daa0f8
Add test coverage for omise-block-mobilebanking-test.php
May 31, 2024
08a56de
Add test coverage for omise-block-installment.php
May 31, 2024
4d723f6
Add code coverage for omise-block.php
May 31, 2024
476219c
Add code coverage for omise-block-payments.php. Refactored few tests
Jun 4, 2024
c10ed7b
Add code coverage of class-omise-payment-installment.php
Jun 4, 2024
4f560f7
Add code coverage for omise-block-config.php
Jun 5, 2024
a9750e0
Fix some issues.
Jun 5, 2024
19ef73f
Add code coverage for omise-block-duitnow-obw.php and omise-block-fpx…
Jun 5, 2024
90920e0
Fixing SonarCloud issues.
Jun 5, 2024
eab12cf
Merge branch 'woocommerce_block_support' of https://github.com/omise/…
Jun 5, 2024
b92a526
Added back the logic to check the availability of payment method.
Jun 5, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vendor
.phpunit.result.cache
composer.lock
.nvmrc
wp-content
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@
"require-dev": {
"phpunit/phpunit": "^5.7 || ^9.5",
"mockery/mockery": "^1.6",
"brain/monkey": "^2.6"
"brain/monkey": "^2.6",
"woocommerce/woocommerce-blocks": "^11.7"
},
"scripts": {
"test": "vendor/bin/phpunit --testdox --colors"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"automattic/jetpack-autoloader": true
}
}
}
2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/credit_card.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '88ba4364a3f634f4b5463c95dd4574e6');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '85f6dde2a4f73007da7b68a01588b596');
2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/credit_card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '8300bb1e0ea5db8412514a952f045a85');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '1c1381978da7eeae827a289aa53203d9');
2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/omise-mobilebanking.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => '9e361f14bcb633d57aec2bede0ca58f2');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-html-entities', 'wp-i18n'), 'version' => 'e6fac6c16b43d5aef4854d8cb63f068d');
2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/omise-one-click-apms.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/omise_atome.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '338c1cd6b30d199b030020d82f9fae92');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '038fdf4e9f72acd0b7ba55de2c3b74a8');
2 changes: 1 addition & 1 deletion includes/blocks/assets/js/build/omise_atome.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '6ae37be8bb705c7421530c7338e22bca');
<?php return array('dependencies' => array('react', 'wc-blocks-registry', 'wc-settings', 'wp-element', 'wp-html-entities', 'wp-i18n'), 'version' => '9895ac689bce188c4a74717ce7c149c5');
Loading
Loading