Changeset 38938 for trunk/tests/phpunit/tests/post/thumbnails.php
- Timestamp:
- 10/26/2016 01:23:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/thumbnails.php
r38433 r38938 282 282 'ID' => self::$post->ID, 283 283 'post_status' => 'publish', 284 'post_content' => rand_str(),285 'post_title' => rand_str(),284 'post_content' => 'Post content', 285 'post_title' => 'Post Title', 286 286 '_thumbnail_id' => self::$attachment_id, 287 287 ) ); … … 293 293 'ID' => $post_id, 294 294 'post_status' => 'publish', 295 'post_content' => rand_str(),296 'post_title' => rand_str(),295 'post_content' => 'Post content', 296 'post_title' => 'Post Title', 297 297 '_thumbnail_id' => - 1, // -1 removes post thumbnail. 298 298 ) ); … … 310 310 'post_type' => 'attachment', 311 311 'post_status' => 'inherit', 312 'post_content' => rand_str(),313 'post_title' => rand_str(),312 'post_content' => 'Post content', 313 'post_title' => 'Post Title', 314 314 'post_mime_type' => 'audio/mpeg', 315 315 'post_parent' => 0, … … 325 325 'post_type' => 'attachment', 326 326 'post_status' => 'inherit', 327 'post_content' => rand_str(),328 'post_title' => rand_str(),327 'post_content' => 'Post content', 328 'post_title' => 'Post Title', 329 329 'post_mime_type' => 'image/jpeg', 330 330 'post_parent' => 0,
Note: See TracChangeset
for help on using the changeset viewer.