Rodrigo Primo
8b129a89bf
phpcs fixes
2019-01-09 16:33:38 -02:00
Gerhard
e4ba5c7f3f
Add unit tests for new woocommerce_valid_location_types filter.
2018-11-19 13:21:02 +02:00
Rodrigo Primo
5f6c729107
Remove unnecessary clean up code from unit tests
...
This commit removes unnecessary clean up code form some unit tests. All database changes done during a test are automatically reverted after the test finishes, so it is not necessary to write code to manually remove them. This change simplifies the test code and make it run a bit faster.
2018-08-23 15:15:17 -03:00
Rodrigo Primo
b7507ca8b3
Automatically fix phpcs violations using phpcbf
2018-08-23 15:15:11 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
4ca49ba999
Fix tests
2016-11-23 16:27:18 +00:00
Justin Shreve
735c1b7a14
Finish moving queries to the shipping zone data store, update usage of deprecated get_zone_id, legacy updates.
2016-11-16 04:53:23 -08:00
Justin Shreve
61d1b29789
Shipping Zone Data Store
2016-11-16 04:53:23 -08:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Claudio Sanches
7d9d091767
Fixed mixed tabs and spaces
2016-07-11 16:56:35 +02:00
Mike Jolley
495aac2df1
Remove backslash
2016-03-23 14:28:45 +00:00
Mike Jolley
2fec0f425a
Remove namespaces from tests for 5.2 support
2016-03-23 12:14:13 +00:00
Mike Jolley
d4521df9d3
Fix zone test
2016-03-23 11:35:15 +00:00
Claudio Sanches
b71dfff8f5
[TESTS] missing ;
2016-02-11 18:01:38 -02:00
Claudio Sanches
1d2f4d21e1
[TESTS] Fixed write context fatal error
2016-02-11 17:47:03 -02:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
bdb8de7785
Zone unit tests
2016-01-08 14:53:24 +00:00
Mike Jolley
a33b9b9750
Unit tests for shipping zones
2016-01-08 13:56:01 +00:00