Make WordPress Core

Changeset 812 in tests


Ignore:
Timestamp:
06/30/2012 08:56:14 PM (14 years ago)
Author:
nacin
Message:

Finish porting includes_taxonomy. props gcorne. fixes #91.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/test_includes_taxonomy.php

    r799 r812  
    9797}
    9898
     99/**
     100 * @group taxonomy
     101 */
    99102class TestTermAPI extends WP_UnitTestCase {
    100103    var $taxonomy = 'category';
     
    185188        foreach ($term_id as $term=>$id) {
    186189            $actual = get_objects_in_term($id, $this->taxonomy);
    187             $this->assertEquals( $this->post_ids, array_map('intval', $actual) );
     190            $this->assertEquals( $ids, array_map('intval', $actual) );
    188191        }
    189192
Note: See TracChangeset for help on using the changeset viewer.