Enable InvalidID delete on all entites
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 27 Sep 2016 21:53:58 +0000 (07:53 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 27 Sep 2016 21:53:58 +0000 (07:53 +1000)
tests/phpunit/api/v3/SyntaxConformanceTest.php

index c32b983005d1676b863fd80a1cfa7238f15b61a2..1381f3e22a5d459f2b4dbe76fd5764e4c21cf61d 100644 (file)
@@ -1363,10 +1363,6 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase {
    * @throws \PHPUnit_Framework_IncompleteTestError
    */
   public function testInvalidID_delete($Entity) {
-    if (in_array($Entity, $this->toBeImplemented['delete'])) {
-      $this->markTestIncomplete("civicrm_api3_{$Entity}_delete to be implemented");
-      return;
-    }
     $result = $this->callAPIFailure($Entity, 'Delete', array('id' => 999));
   }