From: deb.monish Date: Fri, 13 May 2016 05:12:04 +0000 (+0530) Subject: CRM-18490: test leakage fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=989a6bb84795ccabfc5762c2cee3f6a43899e028;p=civicrm-core.git CRM-18490: test leakage fix --- diff --git a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php index 555db9dd5a..e35578df30 100644 --- a/tests/phpunit/CRM/Contribute/Form/ContributionTest.php +++ b/tests/phpunit/CRM/Contribute/Form/ContributionTest.php @@ -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'], ));