[REF][PHP8.2] Remove dynamic property in CRM_Contribute_Form_ContributionPageTranslat...
authorBradley Taylor <hello@brad-taylor.co.uk>
Wed, 1 Feb 2023 19:19:41 +0000 (19:19 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Wed, 1 Feb 2023 19:19:41 +0000 (19:19 +0000)
tests/phpunit/CRM/Contribute/Form/ContributionPageTranslationTest.php

index 93234d184f72cb3c6148132bf6a34f7d5170928e..76a0ac9fc34cfc6851a909251f3061e79a7f1dd6 100644 (file)
@@ -19,7 +19,6 @@ class CRM_Contribute_Form_ContributionPageTranslationTest extends CiviUnitTestCa
 
   public function setUp(): void {
     parent::setUp();
-    $this->_financialTypeID = 1;
     $this->enableMultilingual(['en_US' => 'fr_FR']);
   }
 
@@ -39,7 +38,7 @@ class CRM_Contribute_Form_ContributionPageTranslationTest extends CiviUnitTestCa
 
     $params = [
       'title' => 'Test Contribution Page',
-      'financial_type_id' => $this->_financialTypeID,
+      'financial_type_id' => 1,
       'is_for_organization' => 0,
       'for_organization' => ' I am contributing on behalf of an organization',
       'goal_amount' => '400',