mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-01 14:40:19 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user