+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*/
-
-require_once 'CiviTest/CiviUnitTestCase.php';
-
-
/**
* System.check API has many special test cases, so they have their own class.
*
* an error.
*
* @package CiviCRM_APIv3
+ * @group headless
*/
class api_v3_SystemCheckTest extends CiviUnitTestCase {
protected $_apiversion;
break;
}
}
- $this->assertEquals($testedCheck['severity'], '3', ' in line ' . __LINE__);
+ $this->assertEquals($testedCheck['severity_id'], '3', ' in line ' . __LINE__);
}
/**
}
/**
- * Items hushed through tomorrow shouldn't show up.
+ * Items hushed through tomorrow shouldn't show up.
*/
public function testSystemCheckHushFuture() {
$tomorrow = new DateTime('tomorrow');
}
/**
- * Items hushed through today should show up.
+ * Items hushed through today should show up.
*/
public function testSystemCheckHushToday() {
$today = new DateTime('today');
}
/**
- * Items hushed through yesterday should show up.
+ * Items hushed through yesterday should show up.
*/
public function testSystemCheckHushYesterday() {
$yesterday = new DateTime('yesterday');
}
/**
- * Items hushed above current severity should be hidden.
+ * Items hushed above current severity should be hidden.
*/
public function testSystemCheckHushAboveSeverity() {
$this->_params = array(
}
/**
- * Items hushed at current severity should be hidden.
+ * Items hushed at current severity should be hidden.
*/
public function testSystemCheckHushAtSeverity() {
$this->_params = array(
}
/**
- * Items hushed below current severity should be shown.
+ * Items hushed below current severity should be shown.
*/
public function testSystemCheckHushBelowSeverity() {
$this->_params = array(