[REF][PHP8.2] Remove unused dyanamic property
authorBradley Taylor <hello@brad-taylor.co.uk>
Sat, 25 Mar 2023 16:15:12 +0000 (16:15 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sat, 25 Mar 2023 16:15:12 +0000 (16:15 +0000)
tests/phpunit/api/v3/UFGroupTest.php

index 62284634e4ae357114eb17b5b8fcc57164dc4c02..4af4170fe9090f5d9c5c8af49029440c668bc170 100644 (file)
@@ -38,12 +38,11 @@ class api_v3_UFGroupTest extends CiviUnitTestCase {
       'title' => 'Test Profile',
     ]);
     $this->_ufGroupId = $ufGroup['id'];
-    $ufMatch = $this->callAPISuccess('uf_match', 'create', [
+    $this->callAPISuccess('uf_match', 'create', [
       'contact_id' => $this->_contactId,
       'uf_id' => 42,
       'uf_name' => 'email@mail.com',
     ]);
-    $this->_ufMatchId = $ufMatch['id'];
     $this->params = [
       'add_captcha' => 1,
       'add_contact_to_group' => $this->_groupId,