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/xmlrpc/wp/newComment.php

    r52010 r52389  
    5656                self::$posts['publish']->ID,
    5757                array(
    58                     'content' => rand_str( 100 ),
     58                    'content' => 'Content',
    5959                ),
    6060            )
     
    156156                $post->ID,
    157157                array(
    158                     'content' => rand_str( 100 ),
     158                    'content' => 'Content',
    159159                ),
    160160            )
     
    172172            self::$posts['publish']->ID,
    173173            array(
    174                 'content' => rand_str( 100 ),
     174                'content' => 'Content',
    175175            ),
    176176        );
Note: See TracChangeset for help on using the changeset viewer.