mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Unit Tests: Account for the string changes in [38077].
See #18218. git-svn-id: https://develop.svn.wordpress.org/trunk@38078 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -254,7 +254,7 @@ class Tests_Taxonomy extends WP_UnitTestCase {
|
||||
public function test_get_objects_in_term_should_return_invalid_taxonomy_error() {
|
||||
$terms = get_objects_in_term( 1, 'invalid_taxonomy' );
|
||||
$this->assertInstanceOf( 'WP_Error', $terms );
|
||||
$this->assertEquals( 'Invalid taxonomy', $terms->get_error_message() );
|
||||
$this->assertEquals( 'invalid_taxonomy', $terms->get_error_code() );
|
||||
}
|
||||
|
||||
public function test_get_objects_in_term_should_return_empty_array() {
|
||||
|
||||
Reference in New Issue
Block a user