From 8a10f4a9424c42b8c418a6ad21d9599a61c44e55 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 2 Dec 2013 00:03:39 +0000 Subject: [PATCH] Change comments in unit test to reflect patched scenario in #26339. git-svn-id: https://develop.svn.wordpress.org/trunk@26511 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/term.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/term.php b/tests/phpunit/tests/term.php index dde2200d55..465c635013 100644 --- a/tests/phpunit/tests/term.php +++ b/tests/phpunit/tests/term.php @@ -87,6 +87,9 @@ class Tests_Term extends WP_UnitTestCase { $this->assertTrue( wp_delete_term($t['term_id'], $this->taxonomy) ); } + /** + * @ticket 26339 + */ function test_get_object_terms() { $post_id = $this->factory->post->create(); $terms_1 = array('foo', 'bar', 'baz'); @@ -101,9 +104,8 @@ class Tests_Term extends WP_UnitTestCase { } function filter_get_object_terms( $terms ) { - // var_dump reveals an array of objects $term_ids = wp_list_pluck( $terms, 'term_id' ); - // last term is now an integer + // all terms should still be objects return $terms; }