Christopher Allford
358db5dc3e
Removed the internals of the Container pending package conflict resolution
...
Since reverting the PR at this point would be a mess I've gone ahead and removed the internals of the container. We should aim to keep the class since it's now part of our public API but it won't work as expected anymore. This is fine for now since we don't actually have anything in it!
2020-08-18 20:39:48 -07:00
Claudio Sanches
e102ec3d83
Merge branch 'master' into fix/25133
2020-08-17 14:59:49 -03:00
Néstor Soriano
f1ed7005f9
Merge pull request #26232 from woocommerce/update/e2e-test-utils
...
Update/e2e test utils
2020-08-17 15:26:13 +02:00
Claudio Sanches
bb0c4406de
Merge pull request #27314 from woocommerce/add/unit-tests-27108
...
Added unit tests for #27244
2020-08-14 15:32:02 -03:00
Vedanshu Jain
a887cd7369
Merge pull request #27318 from woocommerce/fix/27282
...
Change data-type from mixed to composite and date-time to string on the fly for REST API
2020-08-13 21:25:11 +05:30
vedanshujain
7fa6510c1a
Add a explicit test for null as well
2020-08-13 16:52:16 +05:30
vedanshujain
dd9b9cfae2
Add test for update in date-time field
2020-08-13 16:32:00 +05:30
vedanshujain
4294e06f7a
Add test for variation v2 controller for complex meta object
2020-08-13 15:46:31 +05:30
vedanshujain
9f680aa120
Add test for null meta value as well
2020-08-13 14:17:28 +05:30
vedanshujain
826fdde721
Add unit tests for checking that updating complex meta is possible
2020-08-13 13:27:00 +05:30
Néstor Soriano
4c636b1d5c
Merge pull request #27303 from woocommerce/fix/travis-coding-standards-test
...
Fix coding standards test on Travis
2020-08-13 09:19:13 +02:00
Claudio Sanches
1839feae91
Added unit tests for #27244
2020-08-12 18:50:25 -03:00
Christopher Allford
7340c9af44
Merge pull request #27171 from woocommerce/fix/25543
...
Added the parent's SKU to product searches for variations
2020-08-12 12:58:00 -07:00
Christopher Allford
7071c6dc0c
Merge pull request #27228 from woocommerce/feature/container-injection-change
...
Dependency Injection should use method injection instead of constructor injection
2020-08-12 12:41:48 -07:00
Claudio Sanches
521ad8c3ff
Update all dependencies of woocommerce-sniffs
2020-08-11 20:42:42 -03:00
Claudio Sanches
7fdf209713
Check if PHPCS is installed before trying to install a new copy
2020-08-11 20:08:28 -03:00
Claudio Sanches
29bc98816e
Merge pull request #27143 from woocommerce/fix/26876
...
Fix "Hide shipping costs until an address is entered"
2020-08-11 20:06:17 -03:00
Tam Mullen
9ad9ff2df8
Fixing import path
2020-08-11 12:26:53 +01:00
Tam Mullen
c8365213c3
Fixing import path.
2020-08-11 00:34:57 +01:00
Tam Mullen
ed525087ac
Addressing comments.
2020-08-10 21:27:20 +01:00
Tam Mullen
b2262f1cf7
Updating exports for completeOnboardingWizard function.
2020-08-10 21:26:11 +01:00
Tam Mullen
2bc918d353
Updating e2e-utils formatting.
2020-08-10 21:26:10 +01:00
Tam Mullen
cdaefa332e
Updating e2e-utils formatting.
2020-08-10 21:26:10 +01:00
Tam Mullen
4544190462
Updating e2e-utils dependencies.
2020-08-10 21:26:10 +01:00
Tam Mullen
ead4b93a7d
Adding e2e-utils README
2020-08-10 21:26:10 +01:00
Tam Mullen
da1916c663
Updating product test dependencies
2020-08-10 21:26:10 +01:00
Tam Mullen
43c55e2c6a
Converting e2e-utils to package.
2020-08-10 21:26:10 +01:00
Ron Rennick
0b0595ab4c
Merge pull request #27048 from vallter2/postcode-bih
...
Add postcode validation for Bosnia and Herzegovina
2020-08-10 16:24:06 -03:00
Christopher Allford
116e11565a
Merge pull request #27262 from woocommerce/fix/unit-tests-coding-standards
...
Fixed packages required to run code sniffer on unit tests
2020-08-10 06:57:05 -07:00
Christopher Allford
12397aec0e
Added `_with` suffix to `StringUtil` methods for clarity
2020-08-07 16:45:35 -07:00
Christopher Allford
13a3b80cb6
Removed classes accidentally added back by merge from master
2020-08-07 16:45:09 -07:00
Christopher Allford
eb65252ba8
Merge branch 'master' into feature/container-injection-change
2020-08-07 14:35:44 -07:00
Christopher Allford
081f0d9133
Settled on an injection method of `init`
...
1. Since our code style dictates that these be `final` methods, we shouldn't be concerned about overlap.
2. There is precedent for `init` methods as requirements before using class instances.
2020-08-07 14:28:29 -07:00
Claudio Sanches
02cf0dfaed
Merge pull request #27239 from woocommerce/fix/package-tag
...
Fix usage of "package" tag in file headers
2020-08-07 13:37:24 -03:00
Claudio Sanches
17f9883f00
Changed | to \
2020-08-07 13:36:41 -03:00
Claudio Sanches
48732ee0dd
Fixed package tag
2020-08-07 13:35:15 -03:00
Claudio Sanches
3fd42a0fd5
Fixed packages required to run code sniffer on unit tests
2020-08-07 13:28:41 -03:00
Néstor Soriano
76cf1e4e93
Merge pull request #27140 from woocommerce/fix/23790
...
Always sanitize coupon code to prevent inconsistent between admins and shop owners
2020-08-07 12:42:02 +02:00
Néstor Soriano
a13a0d2187
Merge pull request #27179 from woocommerce/fix/26741
...
Release coupon holds when status it updated to cancelled regardless of recorded coupons
2020-08-07 11:27:45 +02:00
Christopher Allford
154c812fc0
Renamed the `StringUtility` to `StringUtil` to make it easier to work with
2020-08-06 12:35:51 -07:00
Claudio Sanches
9eae43c0d4
Merge pull request #27240 from woocommerce/dependabot/npm_and_yarn/tests/e2e/factories/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19 in /tests/e2e/factories
2020-08-06 15:50:26 -03:00
vedanshujain
2f76e52fa7
Skip test for < 5.3 as feature is not supported.
2020-08-06 14:34:02 +05:30
vedanshujain
55a9687e6d
Make api included structure more linear.
2020-08-06 14:34:02 +05:30
vedanshujain
cfe357cfb2
Fix UT to add predefined values to run tests in isolation.
2020-08-06 14:34:02 +05:30
vedanshujain
222852dea6
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-08-06 14:06:29 +05:30
Christopher Allford
39376abfd2
Added a requirement that `container_init` methods be marked `final` when registering using reflection
2020-08-05 22:34:00 -07:00
Christopher Allford
ff6e30f1c1
Renamed `set_internal_dependencies` to `container_init`
2020-08-05 22:20:13 -07:00
Christopher Allford
cbbfed4989
Replaced the rest of the constructor injection references
2020-08-05 21:28:06 -07:00
dependabot[bot]
089df498d3
Bump lodash from 4.17.15 to 4.17.19 in /tests/e2e/factories
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 23:04:18 +00:00
Christopher Allford
8e8698a3f6
Fixed test that used PHPUnit function from newer version
2020-08-05 15:43:08 -07:00