Commit Graph

34430 Commits

Author SHA1 Message Date
Christopher Allford 04ec11e90b Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory 2020-04-28 15:41:04 -07:00
Christopher Allford 1b2f5ab4ad Added handling to prevent namespace conflicts with included packages
The root namespace of Core is Automattic\WooCommerce, but both the blocks and wc-admin plugins exist in this namespace. In an effort to prevent possible conflicts, we should not allow for overlap in our repository. The rationale behind doing this as opposed to renaming our root namespace feels reasonable. In the case of Blocks, all of the tooling is already set up in their repository, so all blocks should go there anyway. In the case of WC-Admin, we shouldn't be refactoring admin classes, as that would duplicate work done to revamp them entirely.
2020-04-28 14:04:00 -07:00
Christopher Allford b5bd8225e8 Moved PHPUnit suite into tests/legacy 2020-04-24 13:53:40 -07:00
Vedanshu Jain 5f0badbdf7
Merge pull request #26107 from webdados/master
Revert deprecation of $type on the get_european_union_countries method
2020-04-23 19:20:11 +05:30
Peter Fabian fc30f3c036
Merge pull request #26185 from woocommerce/fix/supported-wp-version-travis-update
Add all supported WP versions to Travis CI check
2020-04-22 12:21:40 +02:00
Vedanshu Jain d663631f32
Merge pull request #26235 from woocommerce/update/ignore-coupons-discounts
Update `Ignore coupons discounts` title & description for Free Shipping
2020-04-21 22:19:39 +05:30
Julia Amosova 2b95f7b795 Update the string next to `coupons discounts` checkbox 2020-04-21 12:45:25 -04:00
Julia Amosova 8845b9a5c2 Update `Ignore coupons discounts` title & description for Free Shipping 2020-04-21 11:25:12 -04:00
Vedanshu Jain 65cdf44adf
Merge pull request #26226 from woocommerce/revert-25708-update/reserve-stock-for-checkout
Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout"
2020-04-21 16:21:36 +05:30
Vedanshu Jain ee119e0a7e
Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout" 2020-04-21 15:37:21 +05:30
Christopher Allford df27e1b361
Merge branch 'master' into fix/supported-wp-version-travis-update 2020-04-16 15:16:05 -07:00
Christopher Allford 968f7ddc5b
Merge pull request #26090 from woocommerce/fix/update-minimum-version
Update minimum PHP version to 7.0
2020-04-16 15:01:39 -07:00
Christopher Allford caa1a6d475 Merge remote-tracking branch 'origin/master' into fix/update-minimum-version 2020-04-16 14:46:17 -07:00
Christopher Allford 7caa43ff66
Merge pull request #26195 from woocommerce/fix/wp-5.5-alpha-unit-test
Fixed unit test on WP 5.5 alpha
2020-04-16 14:26:22 -07:00
Claudio Sanches e43dc9b8a2 Use assertContains 2020-04-16 18:06:18 -03:00
Claudio Sanches 02e3ec7e97 Use assertStringContainsString to compare images 2020-04-16 17:52:22 -03:00
Claudio Sanches a5bc29e26c Fixed unit test on WP 5.5 alpha 2020-04-16 00:25:32 -03:00
Peter Fabian 7a314a6ebd Reduce the number of tests to run.
Just test with one PHP version, so that it doesn't take more than 30 minutes to finish.
2020-04-15 18:36:27 +02:00
Claudio Sanches 2cadb6b511
Merge pull request #26115 from woocommerce/renovate/woocommerce-woocommerce-sniffs-0.x
Update dependency woocommerce/woocommerce-sniffs to v0.0.10
2020-04-15 11:43:33 -03:00
Peter Fabian cdfd9e4ae2 Test all supported WordPress versions. 2020-04-15 13:07:51 +02:00
Peter Fabian a57de7d6a2 Minimum version is no longer PHP 5.6, but PHP 7.0 2020-04-15 13:05:59 +02:00
Marco Almeida ea734d2500
Fix comment
Fix comment for PR #26107
2020-04-10 10:46:46 +01:00
Renovate Bot 65ae94bd4d
Update dependency woocommerce/woocommerce-sniffs to v0.0.10 2020-04-09 13:01:24 +00:00
Vedanshu Jain 18ff3960b7
Merge pull request #26133 from woocommerce/fix/new-obw-e2e-test
Fix new OBW e2e test: Reorder benefits section (WC Services & Jetpack) testing
2020-04-09 16:32:27 +05:30
vedanshu.jain a47c02678a Bump wc-admin version to use latest 1.1.0.
Using commit to force travis to clear build cache.
2020-04-09 16:08:37 +05:30
Julia Amosova 99b8c6facf Reorder benefits section testing in new OBW e2e test 2020-04-08 17:34:04 -04:00
Vedanshu Jain f888908a70
Merge pull request #26117 from woocommerce/fix/26110
Add protective checks around order to prevent issues when order is drafted
2020-04-08 17:45:19 +05:30
vedanshujain fcd4057218 More preventive check for order object in tracks. 2020-04-08 11:43:20 +00:00
vedanshujain e573390356 Add protective checks around order to prevent issues when order is drafted. 2020-04-08 09:56:18 +00:00
Marco Almeida 80576cb149
Revert deprecation of the $type parameter on the get_european_union_countries method
See woocommerce#26105
2020-04-07 23:01:46 +01:00
Vedanshu Jain 9bef7b8d63
Merge pull request #26102 from woocommerce/update/changelog
Remove reduntant commit line
2020-04-07 20:23:23 +05:30
vedanshu.jain b5bdab7ed6 Remove reduntant commit line 2020-04-07 19:37:49 +05:30
Peter Fabian 6fb1eb586d
Merge pull request #26099 from woocommerce/bump/jp-autoloader-1.6
Updated jetpack-autoloader to ^1.6 and woocommerce-blocks to 2.5.16
2020-04-07 16:04:55 +02:00
Peter Fabian 82ebaae549 Updated changelog. 2020-04-07 15:45:09 +02:00
Peter Fabian a65d049c17 Merge branch 'master' into bump/jp-autoloader-1.6 2020-04-07 15:29:22 +02:00
Vedanshu Jain 1789580fd7
Merge pull request #26097 from woocommerce/update/changelog
Updated change log and version numbers.
2020-04-07 18:55:51 +05:30
Peter Fabian 2de06827e6 Updated jetpack-autoloader and woocommerce-blocks
Dependencies updated in one go as Blocks bumped version for JP autoloader.
2020-04-07 14:19:35 +02:00
Vedanshu Jain c2d6d230f9
Merge pull request #26094 from woocommerce/bump/min-wp-version
Updated min WP version to 5.2
2020-04-07 17:26:06 +05:30
vedanshu.jain 8e2a6b2c82 Revert change for stable tag 2020-04-07 17:19:52 +05:30
vedanshu.jain a8fb8aa7fe Updated version numbers 2020-04-07 17:06:18 +05:30
vedanshu.jain 4d05eb8d8b Updated changelog 2020-04-07 17:04:18 +05:30
Vedanshu Jain 9190d0127b
Merge pull request #26095 from woocommerce/fix/code-standards-from-25092
Fix code standards violations introduced in #25092
2020-04-07 17:02:19 +05:30
vedanshu.jain c9c9cfeab1 Add changelog for 4.1 2020-04-07 16:35:08 +05:30
Nestor Soriano 0eed82b3b7 Fix code standards violations introduced in #25092 2020-04-07 12:28:30 +02:00
Claudio Sanches 58db7314a8 Added validation for product fields. 2020-04-07 11:29:54 +02:00
Peter Fabian 5a1ad5daf1 Updated min WP version to 5.2 2020-04-07 11:25:29 +02:00
Vedanshu Jain 46caa40854
Merge pull request #26085 from woocommerce/add/25849-implement-additional-tracks-take-2
Implement additional tracks take 2
2020-04-07 14:48:19 +05:30
Vedanshu Jain 410b2bb171
Merge pull request #26057 from woocommerce/renovate/woocommerce-woocommerce-admin-1.x
Update dependency woocommerce/woocommerce-admin to v1.1.0
2020-04-07 14:44:10 +05:30
Christopher Allford 172ceb51e8
Merge pull request #26084 from woocommerce/add/cart-checkout-block-settings-data
add customised cart & checkout block settings to wc-tracker snapshot
2020-04-06 18:22:24 -07:00
Christopher Allford 09df1205de Updated the minimum PHP version to 7.0 2020-04-06 17:07:33 -07:00