Move WP-APIs test server code to a vendor directory, make sure it matches the version of the other vendor files.

This commit is contained in:
Justin Shreve 2016-07-19 11:38:18 -07:00
parent 57fd38c1a8
commit ec2c82347f
2 changed files with 3 additions and 5 deletions

View File

@ -115,10 +115,9 @@ class WC_Unit_Tests_Bootstrap {
require_once( $this->tests_dir . '/framework/helpers/class-wc-helper-settings.php' );
/**
* WP-API
* @todo to be removed when the wp-api branch is merged.
* WP-API.
*/
require_once( $this->tests_dir . '/framework/class-wp-test-spy-rest-server.php' );
require_once( $this->tests_dir . '/framework/vendor/class-wp-test-spy-rest-server.php' );
}
/**

View File

@ -1,7 +1,6 @@
<?php
/**
* @todo to be removed when the wp-api branch is merged.
* @version 2.0-beta12
* @version 2.0-beta13.1
*/
class WP_Test_Spy_REST_Server extends WP_REST_Server {
/**