Merge pull request #17706 from demeritcowboy/mysql-ssl-alt
[civicrm-core.git] / tests / phpunit / api / v3 / CustomGroupTest.php
index 5fd1adc1e64cd11bc12b4dabcdb6e353a89a7ee9..e891f28eb079d70669bcd769d8f26f74c8fe4159 100644 (file)
@@ -199,15 +199,6 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
     $this->assertEquals($customGroup['values'][$customGroup['id']]['style'], 'Inline');
   }
 
-  /**
-   * Check with not array.
-   */
-  public function testCustomGroupCreateNotArray() {
-    $params = NULL;
-    $customGroup = $this->callAPIFailure('custom_group', 'create', $params);
-    $this->assertEquals($customGroup['error_message'], 'Input variable `params` is not an array');
-  }
-
   /**
    * Check without title.
    */
@@ -336,15 +327,6 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
     $this->assertEquals($customGroup['error_message'], 'Mandatory key(s) missing from params array: id');
   }
 
-  /**
-   * Check with no array.
-   */
-  public function testCustomGroupDeleteNoArray() {
-    $params = NULL;
-    $customGroup = $this->callAPIFailure('custom_group', 'delete', $params);
-    $this->assertEquals($customGroup['error_message'], 'Input variable `params` is not an array');
-  }
-
   /**
    * Check with valid custom group id.
    */