Skip to content

Commit 32f9809

Browse files
committed
Update test for creating bulk blank tags
1 parent 362104b commit 32f9809

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/wpunit/APITest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2734,8 +2734,9 @@ public function testCreateTagsBlank()
27342734
'',
27352735
]
27362736
);
2737-
$this->assertInstanceOf(WP_Error::class, $result);
2738-
$this->assertEquals($result->get_error_code(), $this->errorCode);
2737+
2738+
// Assert failures.
2739+
$this->assertCount(2, $result['failures']);
27392740
}
27402741

27412742
/**

0 commit comments

Comments
 (0)