Rodrigo Primo
18ee70918b
Fix PHPCS violations in tests/ using PHPCBF
...
This commit fixes all 1533 PHPCS errors that PHPCBF can fix automatically in the tests/ directory. Before this change there was a total of 3106 PHPCS errors in the WooCommerce repository and now there is 1573 errors.
2019-05-01 19:05:00 -03:00
Claudiu Lodromanean
3b8eb75c93
Better handling of nested arrays in apply_changes
2017-03-08 11:51:38 -08:00
Claudio Sanches
8d19832937
Fixed coding standards
2016-11-22 23:47:13 -02:00
Mike Jolley
885dad605a
Interface naming
2016-11-22 13:54:51 +00:00
Justin Shreve
dd0a2317f1
Fix up data tests and some coding standards issues
2016-11-22 04:05:05 -08:00
Justin Shreve
1797c76a14
Implement WC_Data_Store and related code & tests.
2016-11-08 01:39:47 -08:00
Justin Shreve
e1e6c682b5
* Stop using _ as a prefix for protected or private vars and functions. We have a keyword for that.
...
* Introduces set_id and get_id to WC_Data for the CRUD classes to share
2016-09-09 05:36:54 -07:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
730069db06
WordPress.Arrays.ArrayDeclaration.SpaceAfterKeyword
2016-08-27 05:39:16 +03:00
Mike Jolley
9bd57414c5
Remove set and get prop - no longer need the extra overhead since functions won't return wp_error now.
2016-08-26 10:48:17 +01:00
Mike Jolley
627b08ba37
Test coverage
2016-08-25 17:42:47 +01:00
Mike Jolley
17d11d76ce
Tests failing due to missing SERVER_NAME
2016-03-23 15:35:06 +00:00
Justin Shreve
5d6cdd05f1
Finish out tests, make sure to use cprrect meta ID field in order by clause.
2016-03-14 11:12:47 -07:00
Justin Shreve
97c0edf445
Start on tests for testing CRUD meta.
...
Includes Mock object for testing against the abstract WC_Data.
2016-03-14 11:12:47 -07:00