We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11b535 commit 9729c18Copy full SHA for 9729c18
1 file changed
tests/phpunit/tests/taxonomy.php
@@ -565,7 +565,12 @@ public function test_wp_update_category() {
565
);
566
567
// Circular parent is reset to 0.
568
- $child_id = self::factory()->category->create( array( 'name' => 'Child', 'parent' => $cat_id ) );
+ $child_id = self::factory()->category->create(
569
+ array(
570
+ 'name' => 'Child',
571
+ 'parent' => $cat_id,
572
+ )
573
+ );
574
wp_update_category(
575
array(
576
'cat_ID' => $cat_id,
0 commit comments