Merge pull request #16469 from civicrm/5.22
[civicrm-core.git] / tests / phpunit / api / v3 / CustomFieldTest.php
index 7d65df2a74f8254386705251a3c101716d3cf0d1..ecb40289f20edad68adfce0957b2e1dd9e768189 100644 (file)
@@ -31,16 +31,6 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
     parent::tearDown();
   }
 
-  /**
-   * Check with no array.
-   */
-  public function testCustomFieldCreateNoArray() {
-    $fieldParams = NULL;
-
-    $customField = $this->callAPIFailure('custom_field', 'create', $fieldParams);
-    $this->assertEquals($customField['error_message'], 'Input variable `params` is not an array');
-  }
-
   /**
    * Check with no label.
    */
@@ -406,15 +396,6 @@ class api_v3_CustomFieldTest extends CiviUnitTestCase {
 
   ///////////////// civicrm_custom_field_delete methods
 
-  /**
-   * Check with no array.
-   */
-  public function testCustomFieldDeleteNoArray() {
-    $params = NULL;
-    $customField = $this->callAPIFailure('custom_field', 'delete', $params);
-    $this->assertEquals($customField['error_message'], 'Input variable `params` is not an array');
-  }
-
   /**
    * Check without Field ID.
    */