Changeset 30688
- Timestamp:
- 12/01/2014 02:24:43 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerms.php
r30265 r30688 642 642 _unregister_taxonomy( 'hierarchical_fields' ); 643 643 644 $this->assertEqualSets ( $expected, $found );644 $this->assertEqualSetsWithIndex( $expected, $found ); 645 645 } 646 646 … … 665 665 _unregister_taxonomy( 'hierarchical_fields' ); 666 666 667 $this->assertEqualSets ( $expected, $found );667 $this->assertEqualSetsWithIndex( $expected, $found ); 668 668 } 669 669 … … 683 683 $expected = array( 684 684 $terms['parent2'] => 0, 685 $terms['child 2'] => $terms['parent1'],686 ); 687 688 _unregister_taxonomy( 'hierarchical_fields' ); 689 690 $this->assertEqualSets ( $expected, $found );685 $terms['child1'] => $terms['parent1'], 686 ); 687 688 _unregister_taxonomy( 'hierarchical_fields' ); 689 690 $this->assertEqualSetsWithIndex( $expected, $found ); 691 691 } 692 692 … … 713 713 _unregister_taxonomy( 'hierarchical_fields' ); 714 714 715 $this->assertEqualSets ( $expected, $found );715 $this->assertEqualSetsWithIndex( $expected, $found ); 716 716 } 717 717 … … 739 739 _unregister_taxonomy( 'hierarchical_fields' ); 740 740 741 $this->assertEqualSets ( $expected, $found );741 $this->assertEqualSetsWithIndex( $expected, $found ); 742 742 } 743 743 … … 762 762 _unregister_taxonomy( 'hierarchical_fields' ); 763 763 764 $this->assertEqualSets ( $expected, $found );764 $this->assertEqualSetsWithIndex( $expected, $found ); 765 765 } 766 766 … … 787 787 _unregister_taxonomy( 'hierarchical_fields' ); 788 788 789 $this->assertEqualSets ( $expected, $found );789 $this->assertEqualSetsWithIndex( $expected, $found ); 790 790 } 791 791 … … 813 813 _unregister_taxonomy( 'hierarchical_fields' ); 814 814 815 $this->assertEqualSets ( $expected, $found );815 $this->assertEqualSetsWithIndex( $expected, $found ); 816 816 } 817 817 … … 836 836 _unregister_taxonomy( 'hierarchical_fields' ); 837 837 838 $this->assertEqualSets ( $expected, $found );838 $this->assertEqualSetsWithIndex( $expected, $found ); 839 839 } 840 840
Note: See TracChangeset
for help on using the changeset viewer.