CRM-18490: test leakage fix
authordeb.monish <monish.deb@webaccessglobal.com>
Fri, 13 May 2016 05:12:04 +0000 (10:42 +0530)
committerdeb.monish <monish.deb@webaccessglobal.com>
Fri, 13 May 2016 05:40:16 +0000 (11:10 +0530)
tests/phpunit/CRM/Contribute/Form/ContributionTest.php

index 555db9dd5a5d88f224b899eb31f3223b190642c8..e35578df302e0cf2ff5e70caba3f1cb91a18f9da 100644 (file)
@@ -412,9 +412,9 @@ class CRM_Contribute_Form_ContributionTest extends CiviUnitTestCase {
     );
     $contribution = $this->callAPISuccessGetSingle('Contribution', array('return' => 'address_id'));
     $this->assertNotEmpty($contribution['address_id']);
+    // CRM-18490 : There is a unwanted test leakage due to below getsingle Api as it only fails in Jenkin
+    // for now we are only fetching address on based on Address ID (removed filter location_type_id and city)
     $this->callAPISuccessGetSingle('Address', array(
-      'city' => 'Vancouver',
-      'location_type_id' => 5,
       'id' => $contribution['address_id'],
     ));