Rodrigo Primo
64f09329dd
Add unit test to test filtering by field when getting system status
2020-01-15 20:21:25 -03:00
Rodrigo Primo
0cfbc27a27
Simplify and speedup WC_Tests_REST_System_Status tests
...
This implements two changes to WC_Tests_REST_System_Status test class:
- It simplifies the tests by setting the user in the setUp method
instead of in each test.
- Improves the performance of the tests by creating a new admin user
only once when the class is instantiated instead of once for every
single test that is executed.
2020-01-15 20:21:25 -03:00
Claudio Sanches
b8763fd3e4
Added unit tests for instance_id
2020-01-15 20:17:36 -03:00
Claudio Sanches
d139b35344
Test the correct orders endpoint
2020-01-15 20:16:11 -03:00
Christopher Allford
0704f6d023
Added support for filtering products and variations by their menu_order
2019-12-18 19:20:12 -03:00
Claudio Sanches
5a509591e7
Fixed unit tests
2019-12-18 19:20:00 -03:00
Claudio Sanches
3e0e9fee77
Included tests for v3
2019-12-18 19:20:00 -03:00
Claudio Sanches
ff7cd27886
Fixed unit tests
2019-12-05 22:29:02 -03:00
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
Mike Jolley
5170d9f296
Update tests
2019-07-10 11:10:50 +01:00
Mike Jolley
a703749a46
Fixed tests
2019-06-24 16:06:26 +01:00
Mike Jolley
46453550e8
Update dist file and namespaces
2019-06-21 10:40:39 +01:00
Mike Jolley
482b985b77
All tests passing
2019-06-10 16:32:12 +01:00
Mike Jolley
191eb4865b
Namespaced v3 tests to v4
2019-06-10 12:36:11 +01:00