From 7f71769c55c2226de70e6e9dfa6cd6abb8b529ec Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 26 Jul 2013 11:06:42 +1200 Subject: [PATCH] CRM-13072 also remove failing delete call from CRM layer - batch entry --- tests/phpunit/CRM/Batch/Form/EntryTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Batch/Form/EntryTest.php b/tests/phpunit/CRM/Batch/Form/EntryTest.php index d408d2237c..5eba99d7c3 100644 --- a/tests/phpunit/CRM/Batch/Form/EntryTest.php +++ b/tests/phpunit/CRM/Batch/Form/EntryTest.php @@ -80,7 +80,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase { ); $this->_relationshipTypeId = $this->relationshipTypeCreate($params); $this->_orgContactID = $this->organizationCreate(); - $this->_contributionTypeId = $this->contributionTypeCreate(); + $this->_financialTypeId = 1; $this->_membershipTypeName = 'Mickey Mouse Club Member'; $params = array( 'name' => $this->_membershipTypeName, @@ -90,7 +90,7 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase { 'member_of_contact_id' => $this->_orgContactID, 'period_type' => 'fixed', 'duration_interval' => 1, - 'financial_type_id' => $this->_contributionTypeId, + 'financial_type_id' => $this->_financialTypeId, 'relationship_type_id' => $this->_relationshipTypeId, 'visibility' => 'Public', 'is_active' => 1, @@ -128,7 +128,6 @@ class CRM_Batch_Form_EntryTest extends CiviUnitTestCase { $this->relationshipTypeDelete($this->_relationshipTypeId); $this->membershipTypeDelete(array('id' => $this->_membershipTypeID)); $this->membershipStatusDelete($this->_mebershipStatusID); - $this->contributionTypeDelete(NULL); $this->contactDelete($this->_contactID); $this->contactDelete($this->_contactID2); $this->contactDelete($this->_orgContactID); -- 2.25.1