Changeset 52010 for trunk/tests/phpunit/tests/term/getTheTerms.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTheTerms.php
r51367 r52010 15 15 * @ticket 22560 16 16 */ 17 function test_object_term_cache() {17 public function test_object_term_cache() { 18 18 $post_id = self::$post_ids[0]; 19 19 … … 51 51 * @ticket 24189 52 52 */ 53 function test_object_term_cache_when_term_changes() {53 public function test_object_term_cache_when_term_changes() { 54 54 $post_id = self::$post_ids[0]; 55 55 $tag_id = self::factory()->tag->create( … … 169 169 * @ticket 34723 170 170 */ 171 function test_get_the_terms_should_return_wp_error_when_taxonomy_is_unregistered() {171 public function test_get_the_terms_should_return_wp_error_when_taxonomy_is_unregistered() { 172 172 $p = self::$post_ids[0]; 173 173 $terms = get_the_terms( $p, 'this-taxonomy-does-not-exist' );
Note: See TracChangeset
for help on using the changeset viewer.