Require dependencies when appropriate in some unit test files.
Previously, attempting to run certain test files in isolation would resultin fatal errors, as the parent classes had not been loaded. Props isaacchapman. Fixes #32984. git-svn-id: https://develop.svn.wordpress.org/trunk@33250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a48af6ef86
commit
04237900a6
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( __FILE__ ) . '/base.php';
|
||||
|
||||
/**
|
||||
* @group filesystem
|
||||
* @group wp-filesystem
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( __FILE__ ) . '/base.php';
|
||||
|
||||
/**
|
||||
* Test the WP_Image_Editor base class
|
||||
* @group image
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( __FILE__ ) . '/base.php';
|
||||
|
||||
/**
|
||||
* @group import
|
||||
*/
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( __FILE__ ) . '/base.php';
|
||||
|
||||
/**
|
||||
* @group import
|
||||
*/
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( __FILE__ ) . '/base.php';
|
||||
|
||||
/**
|
||||
* @group import
|
||||
*/
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once dirname( dirname( __FILE__ ) ) . '/query.php';
|
||||
require_once dirname( __FILE__ ) . '/conditionals.php';
|
||||
|
||||
/**
|
||||
* @group query
|
||||
|
Loading…
Reference in New Issue
Block a user