Remove unused setup from AdhocMailingTest
authorBradley Taylor <hello@brad-taylor.co.uk>
Thu, 2 Feb 2023 20:37:39 +0000 (20:37 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Thu, 2 Feb 2023 20:41:12 +0000 (20:41 +0000)
tests/phpunit/CRM/Mailing/Form/Task/AdhocMailingTest.php

index a0b413935cddd1c6203f7de244ee3d7019e0bab3..c92eb940b71740fdee1376cca0c075ae1487d6e9 100644 (file)
  */
 class CRM_Mailing_Form_Task_AdhocMailingTest extends CiviUnitTestCase {
 
-  /**
-   * @throws \Exception
-   */
-  protected function setUp(): void {
-    parent::setUp();
-    $this->_contactIds = [
-      $this->individualCreate(['first_name' => 'Antonia', 'last_name' => 'D`souza']),
-      $this->individualCreate(['first_name' => 'Anthony', 'last_name' => 'Collins']),
-    ];
-    $this->_optionValue = $this->callAPISuccess('optionValue', 'create', [
-      'label' => '"Seamus Lee" <seamus@example.com>',
-      'option_group_id' => 'from_email_address',
-    ]);
-  }
-
   /**
    * Test creating a hidden smart group from a search builder search.
    *