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

    r52010 r52389  
    174174        delete_option( 'rewrite_rules' );
    175175
    176         $post_type = rand_str( 12 );
     176        $post_type = 'url_to_postid';
    177177        register_post_type( $post_type, array( 'public' => true ) );
    178178
Note: See TracChangeset for help on using the changeset viewer.