Changeset 43571 for trunk/tests/phpunit/tests/post/meta.php
- Timestamp:
- 08/17/2018 01:50:26 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/meta.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/meta.php
r43378 r43571 20 20 self::$author = $factory->user->create_and_get( array( 'role' => 'editor' ) ); 21 21 22 self::$post_id = $factory->post->create( array( 23 'post_author' => self::$author->ID, 24 'post_status' => 'publish', 25 'post_content' => rand_str(), 26 'post_title' => rand_str(), 27 ) ); 28 29 self::$post_id_2 = $factory->post->create( array( 30 'post_author' => self::$author->ID, 31 'post_status' => 'publish', 32 'post_content' => rand_str(), 33 'post_title' => rand_str(), 34 ) ); 22 self::$post_id = $factory->post->create( 23 array( 24 'post_author' => self::$author->ID, 25 'post_status' => 'publish', 26 'post_content' => rand_str(), 27 'post_title' => rand_str(), 28 ) 29 ); 30 31 self::$post_id_2 = $factory->post->create( 32 array( 33 'post_author' => self::$author->ID, 34 'post_status' => 'publish', 35 'post_content' => rand_str(), 36 'post_title' => rand_str(), 37 ) 38 ); 35 39 } 36 40 … … 305 309 array( '', 'registered_key3' ), 306 310 ); 307 }311 } 308 312 }
Note: See TracChangeset
for help on using the changeset viewer.