- Timestamp:
- 12/10/2016 12:01:30 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php
r38832 r39556 272 272 protected function set_post_data( $args = array() ) { 273 273 $defaults = array( 274 'title' => rand_str(),275 'content' => rand_str(),276 'excerpt' => rand_str(),274 'title' => 'Post Title', 275 'content' => 'Post content', 276 'excerpt' => 'Post excerpt', 277 277 'name' => 'test', 278 278 'status' => 'publish', … … 287 287 return wp_parse_args( $args, $this->set_post_data( array( 288 288 'title' => array( 289 'raw' => rand_str(),289 'raw' => 'Post Title', 290 290 ), 291 291 'content' => array( 292 'raw' => rand_str(),292 'raw' => 'Post content', 293 293 ), 294 294 'excerpt' => array( 295 'raw' => rand_str(),295 'raw' => 'Post excerpt', 296 296 ), 297 297 ) ) );
Note: See TracChangeset
for help on using the changeset viewer.