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/cron.php

    r52010 r52389  
    271271    public function test_unschedule_hook() {
    272272        $hook = __FUNCTION__;
    273         $args = array( rand_str() );
     273        $args = array( 'foo' );
    274274
    275275        // Schedule several events with and without arguments.
Note: See TracChangeset for help on using the changeset viewer.