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/hooks/doAllHook.php

    r50342 r52389  
    1414        $hook          = new WP_Hook();
    1515        $tag           = 'all';
    16         $priority      = rand( 1, 100 );
    17         $accepted_args = rand( 1, 100 );
     16        $priority      = 1;
     17        $accepted_args = 2;
    1818        $arg           = 'all_arg';
    1919
Note: See TracChangeset for help on using the changeset viewer.