From 73bf38128c9799b1a0ee07287eb845fdbdccf6a2 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Mon, 14 Sep 2020 17:03:08 +0100 Subject: [PATCH] Fix parameters for MembershipTest --- tests/phpunit/CRM/Member/Form/MembershipTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Member/Form/MembershipTest.php b/tests/phpunit/CRM/Member/Form/MembershipTest.php index 8c5d42578e..bc7fad299b 100644 --- a/tests/phpunit/CRM/Member/Form/MembershipTest.php +++ b/tests/phpunit/CRM/Member/Form/MembershipTest.php @@ -288,7 +288,7 @@ class CRM_Member_Form_MembershipTest extends CiviUnitTestCase { public function testFormRulePermanentOverrideWithNoStatus() { $params = [ 'join_date' => date('Y-m-d'), - 'membership_type_id' => [$this->ids['contact']['organization'], '$this->membershipTypeAnnualFixedID'], + 'membership_type_id' => [$this->ids['contact']['organization'], $this->membershipTypeAnnualFixedID], 'is_override' => TRUE, ]; $files = []; @@ -301,7 +301,7 @@ class CRM_Member_Form_MembershipTest extends CiviUnitTestCase { public function testFormRuleUntilDateOverrideWithValidOverrideEndDate() { $params = [ 'join_date' => date('Y-m-d'), - 'membership_type_id' => [$this->ids['contact']['organization'], '$this->membershipTypeAnnualFixedID'], + 'membership_type_id' => [$this->ids['contact']['organization'], $this->membershipTypeAnnualFixedID], 'is_override' => TRUE, 'status_id' => 1, 'status_override_end_date' => date('Y-m-d'), -- 2.25.1