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:
Boone Gorges 2015-07-14 03:07:13 +00:00
parent a48af6ef86
commit 04237900a6
6 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<?php
require_once dirname( __FILE__ ) . '/base.php';
/**
* @group filesystem
* @group wp-filesystem

View File

@ -1,5 +1,7 @@
<?php
require_once dirname( __FILE__ ) . '/base.php';
/**
* Test the WP_Image_Editor base class
* @group image

View File

@ -1,5 +1,7 @@
<?php
require_once dirname( __FILE__ ) . '/base.php';
/**
* @group import
*/

View File

@ -1,5 +1,7 @@
<?php
require_once dirname( __FILE__ ) . '/base.php';
/**
* @group import
*/

View File

@ -1,5 +1,7 @@
<?php
require_once dirname( __FILE__ ) . '/base.php';
/**
* @group import
*/

View File

@ -1,6 +1,6 @@
<?php
require_once dirname( dirname( __FILE__ ) ) . '/query.php';
require_once dirname( __FILE__ ) . '/conditionals.php';
/**
* @group query