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/user/author.php

    r52010 r52389  
    2727                'post_author'  => self::$author_id,
    2828                'post_status'  => 'publish',
    29                 'post_content' => rand_str(),
    30                 'post_title'   => rand_str(),
     29                'post_content' => 'content',
     30                'post_title'   => 'title',
    3131                'post_type'    => 'post',
    3232            )
Note: See TracChangeset for help on using the changeset viewer.