Merge pull request #12259 from seamuslee001/dev_core_163
[civicrm-core.git] / tests / phpunit / CRM / Utils / HtmlToTextTest.php
index 56d77146247c91570788a53961a3e52e31620174..982580d609aaadc46ed11ed91ab8598e749253be 100644 (file)
@@ -1,9 +1,8 @@
 <?php
 
-require_once 'CiviTest/CiviUnitTestCase.php';
-
 /**
  * Class CRM_Utils_HtmlToTextTest
+ * @group headless
  */
 class CRM_Utils_HtmlToTextTest extends CiviUnitTestCase {
 
@@ -11,6 +10,9 @@ class CRM_Utils_HtmlToTextTest extends CiviUnitTestCase {
     parent::setUp();
   }
 
+  /**
+   * @return array
+   */
   public function htmlToTextExamples() {
     $cases = array(); // array(0 => string $html, 1 => string $text)
 
@@ -62,4 +64,5 @@ class CRM_Utils_HtmlToTextTest extends CiviUnitTestCase {
       "Text Output did not match for $html"
     );
   }
+
 }