Nestor Soriano
c9ea5922e2
Add a comment to wc_ascii_uasort_comparison explaining why setlocale is needed.
2021-01-14 11:16:42 +01:00
Nestor Soriano
9d892f0678
Add a section about testing in PHP 8 in tests/README
2021-01-08 09:04:42 +01:00
Nestor Soriano
f4a1f12824
Fix code sniffer errors
2021-01-05 17:23:23 +01:00
Nestor Soriano
f284ae8af3
Fix end of line handling for PHP 8 in WC_Tests_Log_Handler_Email
...
In PHP 7 the mail function generates PHP-style end of lines (\n),
and that's what these unit tests were assuming; in PHP 8 however
the proper network-style end of lines (\r\n) are generated.
This commit fixes the tests to be compatible with both styles.
2021-01-05 16:04:30 +01:00
Nestor Soriano
1d0b6b7cd9
Fix wc_ascii_uasort_comparison for PHP 8
...
In PHP 8 "iconv( 'UTF-8', 'ASCII//TRANSLIT')" doesn't work as expected:
instead of returning a proper substitute for non-ASCII characters
it returns "?". Temporarily changing the locale to C.UTF-8
fixes the issue.
2021-01-05 15:54:49 +01:00
Nestor Soriano
1a55875afd
Update composer.lock
2021-01-04 16:29:52 +01:00
Nestor Soriano
d4aa20ddbb
Merge branch 'master' into php8/use-custom-phpunit-7
2021-01-04 16:28:28 +01:00
Ron Rennick
3aee9f2dbd
Merge pull request #28678 from woocommerce/update/changelog
...
Add changelog for new fixes.
2020-12-30 10:04:10 -04:00
Ron Rennick
91e39b70c3
Merge pull request #28575 from woocommerce/add/e2e-simple-price-config-variable
...
Add config variable for simple product price to default.json
2020-12-30 10:00:49 -04:00
zhongruige
f472d3cc0f
Cast to number for the comparison
2020-12-29 10:38:36 -07:00
zhongruige
e3765dc650
Code review feedback
2020-12-29 09:10:22 -07:00
vedanshujain
37198e579c
Add changelog for new fixes.
2020-12-28 19:23:01 +05:30
Vedanshu Jain
b3be8931d6
Merge pull request #28630 from woocommerce/update/jetpack-autoloader
...
Updated the Jetpack Autoloader to v2.7.1
2020-12-28 19:00:43 +05:30
vedanshujain
dd22387bc7
Merge branch 'master' into update/jetpack-autoloader
2020-12-28 18:20:15 +05:30
zhongruige
aeb0f5861f
Make sure the tests are backwards compatible
2020-12-27 15:18:31 -07:00
zhongruige
98ee48d1df
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-24 16:15:09 -07:00
Vedanshu Jain
9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
...
Feature/fix build
2020-12-24 13:12:58 +05:30
roykho
e4efc70df4
Add subdirectory pattern match instead of being verbose as suggested
2020-12-23 06:11:29 -08:00
roykho
585592bd78
Add specific configuration for unit tests
2020-12-23 05:55:03 -08:00
Vedanshu Jain
d5c28568f0
Merge pull request #28657 from woocommerce/update/wc-admin-1.8.2
...
Update wc-admin dependency to 1.8.2
2020-12-23 14:33:14 +05:30
vedanshujain
f8121b9589
Update composer lock to not include additional components.
2020-12-23 14:32:08 +05:30
Vedanshu Jain
f46af1160f
Merge pull request #28537 from garyc40/fix/update-callback-named-parameter
...
[PHP 8] Fix Unknown named parameter error when running database update routines
2020-12-23 14:28:54 +05:30
zhongruige
0cdcb26f61
Addressing merge conflicts
2020-12-22 19:35:50 -07:00
Paul Sealock
ecbb127880
update wc-admin 1.8.2
2020-12-23 15:26:04 +13:00
Claudio Sanches
ba37b7332a
Merge pull request #28650 from woocommerce/prep/master
...
Prep master for 5.0.0
2020-12-22 20:30:26 -03:00
Ron Rennick
33eb98c80c
Merge pull request #28612 from woocommerce/fix/26092
...
Price calculation: fix documented return types
2020-12-22 14:43:47 -04:00
Ron Rennick
d4cae9ee25
Update e2e-utils, e2e-core-tests to merchant & shopper ( #28133 )
...
* migrate utils from CustomerFlow/StoreOwnerFlow to customer, merchant and shopper
* merge customer into shopper
- add shopper.gotoMyAccount flow
* update internal uses to merchant, shopper
* add *Flow deprecation messages
* update e2e-utils changelog
* update order filter, refund tests to merchant
* add a wait to refund test for ajax to complete
* update StoreOwnerFlow to merchant in new test
* move ajax wait to end of previous test
2020-12-22 14:59:16 +01:00
vedanshujain
44705386a4
Prep master for 5.0.0.
2020-12-22 19:01:56 +05:30
vedanshujain
d302a204c9
Bump version to 4.9.0-beta.1 and update changelog.
2020-12-21 22:46:22 +05:30
vedanshujain
342c2a5d22
Merge branch 'master' into release/4.9
2020-12-21 22:39:38 +05:30
Vedanshu Jain
800c6a61b7
Merge pull request #28620 from woocommerce/fix/28505
...
Stock management regression fixes
2020-12-21 22:36:53 +05:30
vedanshujain
db2448e7fc
Updated changelog.
2020-12-21 21:41:05 +05:30
vedanshujain
cb97db9fb3
Merge branch 'master' into release/4.9
2020-12-21 21:37:52 +05:30
vedanshujain
f0460cb485
Updated changelog.
2020-12-21 21:37:29 +05:30
zhongruige
55a8fc3d11
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-21 08:54:33 -07:00
Claudio Sanches
8568a9b9ff
Fixed coding standards
2020-12-21 12:46:01 -03:00
Claudio Sanches
8cc953950e
Merge pull request #28624 from woocommerce/fix/27688
...
Also include empty string and comment types for backward compat.
2020-12-21 12:11:09 -03:00
Roy Ho
d2cd61762a
Merge pull request #28592 from woocommerce/fix/27673
...
Better error messages when coupons are stuck in a pending order.
2020-12-21 05:22:41 -08:00
vedanshujain
d03e91c7d2
Merge branch 'master' into update/jetpack-autoloader
2020-12-21 16:40:41 +05:30
vedanshujain
5171108967
Better docs for test functions to specify expectations.
2020-12-21 15:51:07 +05:30
vedanshujain
b4b03f3b46
Merge branch 'master' into fix/28505
2020-12-21 15:42:04 +05:30
vedanshujain
b838043c57
Merge branch 'master' into fix/27688
2020-12-21 15:38:49 +05:30
vedanshujain
f248276a89
Use correct syntax for translators comments.
2020-12-21 15:33:10 +05:30
vedanshujain
39c200bf2d
Merge branch 'master' into fix/27673
2020-12-21 15:29:55 +05:30
vedanshujain
16a81d2c5b
Add changelog for 4.9.
2020-12-21 15:09:41 +05:30
Vedanshu Jain
3e82cd6d51
Merge pull request #28517 from woocommerce/update/woocommerce-blocks-4.0.0
...
Update WooCommerce Blocks package to 4.0.0
2020-12-21 01:31:05 +05:30
vedanshujain
f1b0da9a20
Merge branch 'master' into update/woocommerce-blocks-4.0.0
2020-12-21 01:09:02 +05:30
Vedanshu Jain
d2c5fc0750
Merge pull request #28635 from woocommerce/packages/core-tests/setup-shipping
...
use xpath to find onboarding set up shipping task
2020-12-21 01:05:46 +05:30
Ron Rennick
4774297e15
use xpath to find onboarding set up shipping task
2020-12-19 23:00:32 -04:00
Christopher Allford
1bec2b9172
Updated the Jetpack Autoloader to v2.7.1
...
This includes a number of improvements but also requires that we set the `optimize-autoloader` configuration key to compensate for some classes that don't comply with PSR-4.
2020-12-18 14:52:39 -08:00