diff --git a/tests/phpunit/includes/testcase.php b/tests/phpunit/includes/testcase.php index b2263ec9c6..4b47ddca0a 100644 --- a/tests/phpunit/includes/testcase.php +++ b/tests/phpunit/includes/testcase.php @@ -33,6 +33,11 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { } } + /** + * Fetches the factory object for generating WordPress fixtures. + * + * @return WP_UnitTest_Factory The fixture factory. + */ protected static function factory() { static $factory = null; if ( ! $factory ) {