From 79716d49f5b75c99981640e81ca6a8ad4f585862 Mon Sep 17 00:00:00 2001
From: William Durand <will+git@drnd.me>
Date: Mon, 13 Jun 2016 11:04:16 +0200
Subject: [PATCH] Remove a test since #811 changes the behavior

---
 Tests/Annotation/ApiDocTest.php | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/Tests/Annotation/ApiDocTest.php b/Tests/Annotation/ApiDocTest.php
index c58d2d4..20aca09 100644
--- a/Tests/Annotation/ApiDocTest.php
+++ b/Tests/Annotation/ApiDocTest.php
@@ -182,27 +182,6 @@ class ApiDocTest extends TestCase
         $annot = new ApiDoc($data);
     }
 
-    public function testConstructNoFiltersIfFormTypeDefined()
-    {
-        $data = array(
-            'resource'      => true,
-            'description'   => 'Heya',
-            'input'         => 'My\Form\Type',
-            'filters'       => array(
-                array('name' => 'a-filter'),
-            ),
-        );
-
-        $annot = new ApiDoc($data);
-        $array = $annot->toArray();
-
-        $this->assertTrue(is_array($array));
-        $this->assertFalse(isset($array['filters']));
-        $this->assertTrue($annot->isResource());
-        $this->assertEquals($data['description'], $array['description']);
-        $this->assertEquals($data['input'], $annot->getInput());
-    }
-
     public function testConstructWithStatusCodes()
     {
         $data = array(