Steve Grunwell
17c56d6d12
Merge branch 'master' into fix/travis-against-minimium-requirements
2020-04-01 14:30:42 -04:00
Christopher Allford
98395741cf
Changed the default test file locations to respect the system's tmp folder
2020-03-13 20:44:43 -07:00
Steve Grunwell
5855931542
Define the polyfill before attempting to call it
2020-03-11 16:53:25 +00:00
Steve Grunwell
0a3c5186fa
The WP core test suite didn't introduce includes/listener-loader.php until WordPress 5.1, so we need to polyfill the behavior when testing against WordPress 5.0
2020-03-11 16:34:52 +00:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
Claudio Sanches
96c7255fc0
Fixed SpeedTrapListener include
2019-07-18 22:24:40 -03:00
Claudio Sanches
67212d1303
Updated PHPUnit to 7.5.14
2019-07-18 22:02:58 -03:00
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
Rodrigo Primo
34ec2e87c0
Add wp-http-testcase directly to the repository
...
This commit adds the composer package jdgrimes/wp-http-testcase directly to this repository instead of via composer. Doing this because I couldn't find a way to make this package work on Travis build jobs running older versions of PHP and I don't think it is worth investing much time on it.
2018-07-18 18:19:39 -03:00
Rodrigo Primo
3057ed0bd6
Use WordPress version of phpunit-speed-trap
...
This commit adds WordPress version of phpunit-speed-trap (https://github.com/WordPress/wordpress-develop/blob/master/tests/phpunit/includes/speed-trap-listener.php ). First I tried to add it using composer but for some unknown reason it worked on my local environment but not on Travis (https://travis-ci.org/woocommerce/woocommerce/jobs/377286389#L673 ). I don't think it is worth spending too much time on this so it seems to me that it is just easy to use WordPress version instead since it works.
2018-05-17 15:04:32 +01:00