From 458e6f03952d9e14663c17836e464639491c9692 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Mon, 29 May 2023 16:21:48 +0100 Subject: [PATCH] [REF][PHP8.2] Avoid unnecessary property in WebsiteTest --- tests/phpunit/api/v3/WebsiteTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/api/v3/WebsiteTest.php b/tests/phpunit/api/v3/WebsiteTest.php index 923465335e..e723e3bcf8 100644 --- a/tests/phpunit/api/v3/WebsiteTest.php +++ b/tests/phpunit/api/v3/WebsiteTest.php @@ -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, ]; -- 2.25.1