Make WordPress Core


Ignore:
Timestamp:
12/19/2021 01:42:37 PM (3 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Reduce the use of unnecessary randomness in tests.

This increases the overall reliability of the tests.

Props johnillo

Fixes #37371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/meta.php

    r52010 r52389  
    2424                'post_author'  => self::$author->ID,
    2525                'post_status'  => 'publish',
    26                 'post_content' => rand_str(),
    27                 'post_title'   => rand_str(),
     26                'post_content' => 'content',
     27                'post_title'   => 'title',
    2828            )
    2929        );
     
    3333                'post_author'  => self::$author->ID,
    3434                'post_status'  => 'publish',
    35                 'post_content' => rand_str(),
    36                 'post_title'   => rand_str(),
     35                'post_content' => 'content',
     36                'post_title'   => 'title',
    3737            )
    3838        );
Note: See TracChangeset for help on using the changeset viewer.