Skip to content

Commit

Permalink
Merge pull request #12815 from seamuslee001/test_fix_report_activity_…
Browse files Browse the repository at this point in the history
…test

Alter Test to ensure that order of city is output doesn't mater in th…
  • Loading branch information
seamuslee001 authored Sep 13, 2018
2 parents 7b43caf + 77347e0 commit c9044a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/CRM/Report/Form/ActivityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function testTargetAddressFields() {
// ensure that country values of respective target contacts are only shown
$this->assertTrue(in_array($rows[0]['civicrm_address_country_id'], ['India;United States', 'United States;India']));
// ensure that city values of respective target contacts are only shown
$this->assertEquals('ABC;DEF', $rows[0]['civicrm_address_city']);
$this->assertTrue(in_array($rows[0]['civicrm_address_city'], ['ABC;DEF', 'DEF;ABC']));
}

}

0 comments on commit c9044a1

Please sign in to comment.