- Timestamp:
- 11/30/2017 11:09:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory.php
r37563 r42343 60 60 61 61 function __construct() { 62 $this->post = new WP_UnitTest_Factory_For_Post( $this );62 $this->post = new WP_UnitTest_Factory_For_Post( $this ); 63 63 $this->attachment = new WP_UnitTest_Factory_For_Attachment( $this ); 64 $this->comment = new WP_UnitTest_Factory_For_Comment( $this );65 $this->user = new WP_UnitTest_Factory_For_User( $this );66 $this->term = new WP_UnitTest_Factory_For_Term( $this );67 $this->category = new WP_UnitTest_Factory_For_Term( $this, 'category' );68 $this->tag = new WP_UnitTest_Factory_For_Term( $this, 'post_tag' );69 $this->bookmark = new WP_UnitTest_Factory_For_Bookmark( $this );64 $this->comment = new WP_UnitTest_Factory_For_Comment( $this ); 65 $this->user = new WP_UnitTest_Factory_For_User( $this ); 66 $this->term = new WP_UnitTest_Factory_For_Term( $this ); 67 $this->category = new WP_UnitTest_Factory_For_Term( $this, 'category' ); 68 $this->tag = new WP_UnitTest_Factory_For_Term( $this, 'post_tag' ); 69 $this->bookmark = new WP_UnitTest_Factory_For_Bookmark( $this ); 70 70 if ( is_multisite() ) { 71 $this->blog = new WP_UnitTest_Factory_For_Blog( $this );71 $this->blog = new WP_UnitTest_Factory_For_Blog( $this ); 72 72 $this->network = new WP_UnitTest_Factory_For_Network( $this ); 73 73 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)