Skip to content

Commit

Permalink
Alter Test to ensure that order of city is output doesn't mater in th…
Browse files Browse the repository at this point in the history
…e same format as country
  • Loading branch information
seamuslee001 committed Sep 13, 2018
1 parent 0f162a4 commit 77347e0
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 77347e0

Please sign in to comment.