From 70b8dc4f8184dceef367912caac45e0600b83177 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 19 Jun 2023 12:48:14 +1200 Subject: [PATCH] Remove duplicate test --- .../Event/Form/Task/ParticipantStatusTest.php | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 tests/phpunit/CRM/Event/Form/Task/ParticipantStatusTest.php 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']); - } - -} -- 2.25.1