From: Eileen McNaughton Date: Mon, 19 Jun 2023 00:48:14 +0000 (+1200) Subject: Remove duplicate test X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=70b8dc4f8184dceef367912caac45e0600b83177;p=civicrm-core.git Remove duplicate test --- diff --git a/tests/phpunit/CRM/Event/Form/Task/ParticipantStatusTest.php b/tests/phpunit/CRM/Event/Form/Task/ParticipantStatusTest.php deleted file mode 100644 index ac809b175a..0000000000 --- a/tests/phpunit/CRM/Event/Form/Task/ParticipantStatusTest.php +++ /dev/null @@ -1,30 +0,0 @@ -customGroupCreate(['extends' => 'Participant', 'title' => 'Participant']); - $field = $this->customFieldCreate(['custom_group_id' => $group['id'], 'html_type' => 'CheckBox', 'option_values' => ['two' => 'A couple', 'three' => 'A few', 'four' => 'Too Many']]); - $participantID = $this->participantCreate(); - $participant = $this->callAPISuccessGetSingle('Participant', ['id' => $participantID]); - $this->assertEquals(2, $participant['participant_status_id']); - - $form = $this->getFormObject('CRM_Event_Form_Task_Batch'); - $form->submit(['field' => [$participantID => ['participant_status_id' => 1, 'custom_' . $field['id'] => ['two' => 1, 'four' => 1]]]]); - - $participant = $this->callAPISuccessGetSingle('Participant', ['id' => $participantID]); - $this->assertEquals(1, $participant['participant_status_id']); - } - -}