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:
parent
caf0e90b30
commit
f80068e75b
@ -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.
|
||||
*/
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user