System.check api - add severity_id to output
[civicrm-core.git] / tests / phpunit / api / v3 / SystemCheckTest.php
index 40fbc4e7313164a134d3d03bd14a6ae426240f56..bc2f878a67b7cb9bb4cab273e91bd67c62cf0cc2 100644 (file)
@@ -63,7 +63,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
         break;
       }
     }
-    $this->assertEquals($testedCheck['severity'], '3', ' in line ' . __LINE__);
+    $this->assertEquals($testedCheck['severity_id'], '3', ' in line ' . __LINE__);
   }
 
   /**
@@ -89,7 +89,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed through tomorrow shouldn't show up.
+   * Items hushed through tomorrow shouldn't show up.
    */
   public function testSystemCheckHushFuture() {
     $tomorrow = new DateTime('tomorrow');
@@ -113,7 +113,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed through today should show up.
+   * Items hushed through today should show up.
    */
   public function testSystemCheckHushToday() {
     $today = new DateTime('today');
@@ -137,7 +137,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed through yesterday should show up.
+   * Items hushed through yesterday should show up.
    */
   public function testSystemCheckHushYesterday() {
     $yesterday = new DateTime('yesterday');
@@ -161,7 +161,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed above current severity should be hidden.
+   * Items hushed above current severity should be hidden.
    */
   public function testSystemCheckHushAboveSeverity() {
     $this->_params = array(
@@ -183,7 +183,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed at current severity should be hidden.
+   * Items hushed at current severity should be hidden.
    */
   public function testSystemCheckHushAtSeverity() {
     $this->_params = array(
@@ -205,7 +205,7 @@ class api_v3_SystemCheckTest extends CiviUnitTestCase {
   }
 
   /**
-   *    Items hushed below current severity should be shown.
+   * Items hushed below current severity should be shown.
    */
   public function testSystemCheckHushBelowSeverity() {
     $this->_params = array(