diff options
Diffstat (limited to 'tests/phpunit/tests/term/cache.php')
-rw-r--r-- | tests/phpunit/tests/term/cache.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/phpunit/tests/term/cache.php b/tests/phpunit/tests/term/cache.php index 99a73f7823..76eff31adf 100644 --- a/tests/phpunit/tests/term/cache.php +++ b/tests/phpunit/tests/term/cache.php @@ -222,6 +222,8 @@ class Tests_Term_Cache extends WP_UnitTestCase { update_term_cache( $terms ); + $this->assertNotEmpty( $terms ); + foreach ( $terms as $term ) { $this->assertSame( $p, $term->object_id ); } |