WordPress.org

Make WordPress Core

Changeset 1128 in tests


Ignore:
Timestamp:
11/13/12 17:58:34 (18 months ago)
Author:
nbachiyski
Message:

Add tag factory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/factory.php

    r1044 r1128  
    88        $this->term = new WP_UnitTest_Factory_For_Term( $this ); 
    99        $this->category = new WP_UnitTest_Factory_For_Term( $this, 'category' ); 
     10        $this->tag = new WP_UnitTest_Factory_For_Term( $this, 'post_tag' ); 
    1011        if ( is_multisite() ) 
    1112            $this->blog = new WP_UnitTest_Factory_For_Blog( $this ); 
Note: See TracChangeset for help on using the changeset viewer.