[REF][PHP8.2] Avoid unnecessary property in WebsiteTest
authorBradley Taylor <hello@brad-taylor.co.uk>
Mon, 29 May 2023 15:21:48 +0000 (16:21 +0100)
committerBradley Taylor <hello@brad-taylor.co.uk>
Mon, 29 May 2023 15:21:48 +0000 (16:21 +0100)
tests/phpunit/api/v3/WebsiteTest.php

index 923465335e4dcf1ef5fe0f97f9f5e4b481240409..e723e3bcf80b3420dfeed9267d0f3605115ef89b 100644 (file)
@@ -27,9 +27,9 @@ class api_v3_WebsiteTest extends CiviUnitTestCase {
     $this->useTransaction();
 
     $this->_entity = 'website';
-    $this->_contactID = $this->organizationCreate();
+    $contactID = $this->organizationCreate();
     $this->params = [
-      'contact_id' => $this->_contactID,
+      'contact_id' => $contactID,
       'url' => 'website.com',
       'website_type_id' => 1,
     ];