Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/13/2015 05:30:04 PM (10 years ago)
Author:
boonebgorges
Message:

Use assertEqualSets() for BP_Tests_BP_Groups_Group_Testcases::test_get_with_meta_query_multiple_clauses_relation_or_shared_meta_key().

The order of results returned by the BP_Groups_Group::get() is not important
to test here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php

    r9480 r9483  
    206206        ) );
    207207        $ids = wp_list_pluck( $groups['groups'], 'id' );
    208         $this->assertEquals( array( $g1, $g2 ), $ids );
     208        $this->assertEqualSets( array( $g1, $g2 ), $ids );
    209209        $this->assertEquals( 2, $groups['total'] );
    210210    }
Note: See TracChangeset for help on using the changeset viewer.