Index: includes/factory.php =================================================================== --- includes/factory.php (revision 1258) +++ includes/factory.php (working copy) @@ -1,6 +1,38 @@ post = new WP_UnitTest_Factory_For_Post( $this ); $this->attachment = new WP_UnitTest_Factory_For_Attachment( $this ); Index: includes/testcase.php =================================================================== --- includes/testcase.php (revision 1258) +++ includes/testcase.php (working copy) @@ -6,7 +6,10 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { protected static $forced_tickets = array(); - + /** + * @var WP_UnitTest_Factory + */ + protected $factory; function setUp() { set_time_limit(0);