[REF][PHP8.2] Remove seemingly unused write to dynamic property
authorBradley Taylor <hello@brad-taylor.co.uk>
Sun, 21 May 2023 10:46:58 +0000 (11:46 +0100)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sun, 21 May 2023 10:46:58 +0000 (11:46 +0100)
tests/phpunit/api/v3/MembershipStatusTest.php

index 1b08b8e7ac81091b00e303c52ed3e1feea59367b..c4b0b923543cfbcbd9dedd6346683ff5527e606b 100644 (file)
@@ -162,7 +162,6 @@ class api_v3_MembershipStatusTest extends CiviUnitTestCase {
   public function testDeleteWithMembershipError(): void {
     $membershipStatusID = $this->membershipStatusCreate();
     $this->_contactID = $this->individualCreate();
-    $this->_entity = 'membership';
     $params = [
       'contact_id' => $this->_contactID,
       'membership_type_id' => $this->_membershipTypeID,