Make WordPress Core


Ignore:
Timestamp:
12/19/2021 01:42:37 PM (2 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/attachments.php

    r52010 r52389  
    273273        $post_id = wp_insert_post(
    274274            array(
    275                 'post_content' => rand_str(),
    276                 'post_title'   => rand_str(),
     275                'post_content' => 'content',
     276                'post_title'   => 'title',
    277277            )
    278278        );
Note: See TracChangeset for help on using the changeset viewer.