Commit Graph

242 Commits

Author SHA1 Message Date
Rodrigo Primo 59a3bc7525 Use WP_UnitTestCase::assertWPError() instead of WC_Unit_Test_Case::assertIsWPError()
See https://github.com/woocommerce/woocommerce/pull/24207
2019-12-05 22:06:54 -03:00
Claudio Sanches 613502e57d Fixed WooCommerce 3.9 support 2019-12-05 22:03:03 -03:00
Claudio Sanches 0b1c1dd422 Fixed date_created and date_created_gmt for customers v2 2019-12-05 22:02:07 -03:00
Claudio Sanches 7d9babf1c2 Fix: check if DB_NAME is defined before using it
Port of https://github.com/woocommerce/woocommerce-rest-api/pull/3 for v2 and v3
2019-07-16 11:27:40 -03:00
Mike Jolley 1b3ea5eef1 Version 2019-07-10 11:11:48 +01:00
Mike Jolley 5170d9f296 Update tests 2019-07-10 11:10:50 +01:00
Claudio Sanches 83da0a2283 Reflect new changes from https://github.com/woocommerce/woocommerce/pull/23093 2019-07-10 11:07:16 +01:00
Claudio Sanches 72c5a6687d Fixed PHP notices when DB receives "ENGINE" instead of "engine" 2019-07-08 15:02:29 -03:00
Mike Jolley 1d0bd12a46 Moved hook like in master v3 2019-06-26 15:29:11 +01:00
Mike Jolley 4ba989a07e Changes from master 2019-06-26 15:27:45 +01:00
Mike Jolley 53fccbbf7d Fix paths 2019-06-25 16:20:26 +01:00
Mike Jolley 370d6c1a04 remove v4 for 1.0 release 2019-06-25 16:18:35 +01:00
Mike Jolley 8b82b84013 Autoload version 2019-06-25 16:17:22 +01:00
Mike Jolley 48b9ff0695 Versions 2019-06-25 16:16:58 +01:00
Mike Jolley a6db14ba38 Update test paths 2019-06-25 16:12:47 +01:00
Mike Jolley 09ef1e74cf Rename tests dir 2019-06-24 16:17:02 +01:00
Mike Jolley a703749a46 Fixed tests 2019-06-24 16:06:26 +01:00
Mike Jolley 1c82fd60f8 Fix some strings which should not be replaced 2019-06-24 15:47:00 +01:00
Mike Jolley 854ac947d8 Unique text domains 2019-06-24 13:01:21 +01:00
Mike Jolley a518b9cfd1 Package file for entry point 2019-06-21 19:58:20 +01:00
Mike Jolley 2943708bb1 Comments 2019-06-21 14:57:26 +01:00
Mike Jolley 46453550e8 Update dist file and namespaces 2019-06-21 10:40:39 +01:00
Mike Jolley 13fb3ea2db Use package autoloader 2019-06-21 10:17:22 +01:00
Mike Jolley 97bf084d81 Test without init code - just an autoloader 2019-06-20 16:51:47 +01:00
Mike Jolley 3be0213828 Revert "Test version without custom autoloader and allow core to generate this after install"
This reverts commit 9283910e11.
2019-06-20 13:47:04 +01:00
Mike Jolley 9283910e11 Test version without custom autoloader and allow core to generate this after install 2019-06-20 13:37:59 +01:00
Mike Jolley acfaf1a284 Update autoload handling and build 2019-06-20 11:30:19 +01:00
Mike Jolley 6b8bc5a1e0 Moved utilities 2019-06-19 15:55:39 +01:00
Mike Jolley fa0560f4ed config 2019-06-19 15:50:52 +01:00
Mike Jolley e7d232b785 config 2019-06-19 15:49:46 +01:00
Mike Jolley 767719c329 Improve pagination header generation 2019-06-19 15:35:05 +01:00
Mike Jolley 3a6de36db7 Update singleton class comment 2019-06-19 14:48:23 +01:00
Mike Jolley 3e3d2f3f85 Update registration 2019-06-19 14:48:11 +01:00
Mike Jolley bd3828e727 wrong comments 2019-06-18 16:30:38 +01:00
Mike Jolley 71a32c96b6 Tidy up permission checks 2019-06-18 16:06:04 +01:00
Mike Jolley 1f6455807d Improve hook suffix 2019-06-18 13:00:04 +01:00
Mike Jolley a4e89f89ce Consistent responses across all classes 2019-06-18 12:45:34 +01:00
Mike Jolley d2e4c199f4 Standardisation of prepare_item and prepare_links 2019-06-18 10:44:41 +01:00
Mike Jolley 5bd17af0da ProductReviewResponse 2019-06-18 00:11:30 +01:00
Mike Jolley f7c9393012 Customer requests + responses 2019-06-17 23:42:15 +01:00
Mike Jolley f19e5d9300 Move BatchTrait to utilities 2019-06-17 22:45:00 +01:00
Mike Jolley fa0f09615f Update permission checks 2019-06-17 22:44:13 +01:00
Mike Jolley f35e5461fa Move permission checks to version4 2019-06-17 22:44:01 +01:00
Mike Jolley 6176aaf12c Break up system status into utilities 2019-06-17 17:30:31 +01:00
Mike Jolley 31131bf500 wrong property 2019-06-17 15:29:11 +01:00
Mike Jolley ab42dc41b3 ImageAttachment utility 2019-06-17 15:23:55 +01:00
Mike Jolley b6dc7b745f Order request/response 2019-06-17 15:04:43 +01:00
Mike Jolley f8a28ae1a9 Move set_meta_data 2019-06-17 13:53:18 +01:00
Mike Jolley 836ece76b1 Simplify parse_attributes_field 2019-06-17 13:52:14 +01:00
Mike Jolley 2b3c870884 Revised schema handling 2019-06-17 13:19:52 +01:00