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:
parent
57fd38c1a8
commit
ec2c82347f
|
@ -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' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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 {
|
||||
/**
|
Loading…
Reference in New Issue