Build/Test Tools: Reduce the use of unnecessary randomness in tests.

This increases the overall reliability of the tests.

Props johnillo

Fixes #37371


git-svn-id: https://develop.svn.wordpress.org/trunk@52389 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-12-19 13:42:37 +00:00
parent 77757441a4
commit 029bea45b0
46 changed files with 250 additions and 241 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ class Tests_Term_SplitSharedTerm extends WP_UnitTestCase {
array( '%d' )
);
$menu_id = wp_create_nav_menu( rand_str() );
$menu_id = wp_create_nav_menu( 'Nav Menu Bar' );
$cat_menu_item = wp_update_nav_menu_item(
$menu_id,
0,