Skip to content

Commit

Permalink
Remove a test since #811 changes the behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Jun 13, 2016
1 parent 4b16f4e commit 79716d4
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Tests/Annotation/ApiDocTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,27 +182,6 @@ public function testConstructMethodHasFiltersWithoutName()
$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(
Expand Down

0 comments on commit 79716d4

Please sign in to comment.