Merge pull request #12181 from JMAConsulting/dev_core_134
[civicrm-core.git] / tests / phpunit / CRM / Utils / RestTest.php
index 9508cc5f0d223dc523c1170cca6a04624d955b18..ac6a59c3cea41588fc0fa43339b6324ebad00e66 100644 (file)
@@ -1,26 +1,16 @@
 <?php
-require_once 'CiviTest/CiviUnitTestCase.php';
 
 /**
  * Class CRM_Utils_RestTest
+ * @group headless
  */
 class CRM_Utils_RestTest extends CiviUnitTestCase {
-  /**
-   * @return array
-   */
-  function get_info() {
-    return array(
-      'name' => 'Rest Test',
-      'description' => 'Test Rest Interface Utilities',
-      'group' => 'CiviCRM BAO Tests',
-    );
-  }
 
-  function setUp() {
+  public function setUp() {
     parent::setUp();
   }
 
-  function testProcessMultiple() {
+  public function testProcessMultiple() {
     $_SERVER['REQUEST_METHOD'] = 'POST';
     $input = array(
       'cow' => array(