tests/phpunit - Declare `@group headless`
[civicrm-core.git] / tests / phpunit / CRM / Core / BAO / EmailTest.php
index 314ea9ec60908126010fb50f61eeb4b2666512c6..0adb529215399b6d02b1b64f67c1155c5f1e5298 100644 (file)
@@ -1,15 +1,16 @@
 <?php
-require_once 'CiviTest/CiviUnitTestCase.php';
+
 require_once 'CiviTest/Contact.php';
 
 /**
  * Class CRM_Core_BAO_EmailTest
+ * @group headless
  */
 class CRM_Core_BAO_EmailTest extends CiviUnitTestCase {
   public function setUp() {
     parent::setUp();
 
-    $this->quickCleanup( array( 'civicrm_contact', 'civicrm_email' ) );
+    $this->quickCleanup(array('civicrm_contact', 'civicrm_email'));
   }
 
   /**
@@ -150,4 +151,5 @@ class CRM_Core_BAO_EmailTest extends CiviUnitTestCase {
 
     Contact::delete($contactId);
   }
+
 }