From 86d486d67d594e7490b756755590dfd328775b6d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 3 Feb 2018 17:10:51 +0000 Subject: [PATCH] Tests: Fix two typos introduced for a get_term_field() test in [35270]. See #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@42645 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/term/getTermField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/term/getTermField.php b/tests/phpunit/tests/term/getTermField.php index aca4c9a00f..a8c8a7f72a 100644 --- a/tests/phpunit/tests/term/getTermField.php +++ b/tests/phpunit/tests/term/getTermField.php @@ -47,12 +47,12 @@ class Tests_Term_getTermField extends WP_UnitTestCase { /** * @ticket 34245 */ - public function test_get_term_field_should_accept_a_WP_Term_object_term_id_or_object() { + public function test_get_term_field_should_accept_a_WP_Term_id_or_object() { $term = self::factory()->term->create_and_get( array( 'taxonomy' => $this->taxonomy ) ); $this->assertInstanceOf( 'WP_Term', $term ); $this->assertSame( $term->term_id, get_term_field( 'term_id', $term ) ); - $this->assertSame( $term->term_id, get_term_Field( 'term_id', $term->data ) ); + $this->assertSame( $term->term_id, get_term_field( 'term_id', $term->data ) ); $this->assertSame( $term->term_id, get_term_field( 'term_id', $term->term_id ) ); }