Skip to content

Commit

Permalink
#45 correcting test scenario to use proper docblock and assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Oct 24, 2016
1 parent 339ed02 commit ddd1e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Doctrine/Tests/Common/Annotations/DocParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -996,8 +996,8 @@ public function testAnnotationWithoutClassIsIgnoredWithoutWarning()
/**
* Tests if it's possible to ignore whole namespaces
*
* @param $ignoreAnnotationName annotation/namespace to ignore
* @param $input annotation/namespace from the docblock
* @param string $ignoreAnnotationName annotation/namespace to ignore
* @param string $input annotation/namespace from the docblock
*
* @return void
*
Expand All @@ -1009,7 +1009,7 @@ public function testIgnoreWholeNamespaces($ignoreAnnotationName, $input)
$parser->setIgnoredAnnotationNamespaces(array($ignoreAnnotationName => true));
$result = $parser->parse($input);

$this->assertEquals(0, count($result));
self::assertEmpty($result);
}

public function provideTestIgnoreWholeNamespaces()
Expand Down

0 comments on commit ddd1e2a

Please sign in to comment.