Make WordPress Core


Ignore:
Timestamp:
12/10/2016 12:01:30 AM (10 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Remove some more randomness.

See #37371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php

    r38832 r39556  
    272272        protected function set_post_data( $args = array() ) {
    273273                $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',
    277277                        'name'    => 'test',
    278278                        'status'  => 'publish',
     
    287287                return wp_parse_args( $args, $this->set_post_data( array(
    288288                        'title'   => array(
    289                                 'raw' => rand_str(),
     289                                'raw' => 'Post Title',
    290290                        ),
    291291                        'content' => array(
    292                                 'raw' => rand_str(),
     292                                'raw' => 'Post content',
    293293                        ),
    294294                        'excerpt' => array(
    295                                 'raw' => rand_str(),
     295                                'raw' => 'Post excerpt',
    296296                        ),
    297297                ) ) );
Note: See TracChangeset for help on using the changeset viewer.