Make WordPress Core

Changeset 47341


Ignore:
Timestamp:
02/21/2020 05:03:12 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Remove unused ::assertPostHasTerms() method from tests/term.php.

The associated test was removed in [30241].

See #49485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term.php

    r47122 r47341  
    195195    }
    196196
    197     private function assertPostHasTerms( $post_id, $expected_term_ids, $taxonomy ) {
    198         $assigned_term_ids = wp_get_object_terms(
    199             $post_id,
    200             $taxonomy,
    201             array(
    202                 'fields' => 'ids',
    203             )
    204         );
    205 
    206         $this->assertEquals( $expected_term_ids, $assigned_term_ids );
    207     }
    208 
    209197    /**
    210198     * @ticket 19205
Note: See TracChangeset for help on using the changeset viewer.