From 989a6bb84795ccabfc5762c2cee3f6a43899e028 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Fri, 13 May 2016 10:42:04 +0530 Subject: [PATCH] CRM-18490: test leakage fix --- tests/phpunit/CRM/Contribute/Form/ContributionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'], )); -- 2.25.1