Tests: Require `Basic_Object` and `Basic_Subclass` files earlier in call stack.

This ensures compatibility with third-party tools using these classes
in their test suites, after [38285].

Props DylanAuty, Frank Klein, TimothyBlynJacobs.
Fixes #37523.

git-svn-id: https://develop.svn.wordpress.org/trunk@38445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges 2016-08-30 14:32:04 +00:00
parent caf0e90b30
commit f80068e75b
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,8 @@
<?php
require_once dirname( __FILE__ ) . '/class-basic-object.php';
require_once dirname( __FILE__ ) . '/class-basic-subclass.php';
/**
* Resets various `$_SERVER` variables that can get altered during tests.
*/

View File

@ -1,8 +1,5 @@
<?php
require_once dirname( dirname( __FILE__ ) ) . '/includes/class-basic-object.php';
require_once dirname( dirname( __FILE__ ) ) . '/includes/class-basic-subclass.php';
/**
* just make sure the test framework is working
*