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:
Sergey Biryukov
2016-07-17 16:23:31 +00:00
parent 776b3c3f1d
commit 59f15cdea9
7 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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() {