mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-22 12:14:29 +00:00
Unit Tests: wrestle performance out of Tests_Auth by cloning the same user for a majority of the tests.
See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -58,7 +58,7 @@ class Tests_Term_Cache extends WP_UnitTestCase {
|
||||
$parent_id = 0;
|
||||
$children = 0;
|
||||
|
||||
foreach ( range( 1, 99 ) as $i ) {
|
||||
foreach ( range( 1, 9 ) as $i ) {
|
||||
switch ( $step ) {
|
||||
case 1:
|
||||
$parent = wp_insert_term( 'Parent' . $i, $tax );
|
||||
|
||||
Reference in New Issue
Block a user