From c4911f57d2460d7e177acb21fd876072df423909 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Fri, 13 Jul 2012 16:04:29 +0200 Subject: [PATCH] Fix tests --- Tests/Extractor/ApiDocExtratorTest.php | 2 +- Tests/Formatter/MarkdownFormatterTest.php | 2 +- Tests/Formatter/SimpleFormatterTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Extractor/ApiDocExtratorTest.php b/Tests/Extractor/ApiDocExtratorTest.php index 8e912ab..a5567f4 100644 --- a/Tests/Extractor/ApiDocExtratorTest.php +++ b/Tests/Extractor/ApiDocExtratorTest.php @@ -140,7 +140,7 @@ class ApiDocExtractorTest extends WebTestCase $this->assertNotNull($data); $this->assertEquals( - "This method is useful to test if the getDocComment works. And, it supports multilines until the first '@' char.", + "This method is useful to test if the getDocComment works.", $data['annotation']->getDescription() ); } diff --git a/Tests/Formatter/MarkdownFormatterTest.php b/Tests/Formatter/MarkdownFormatterTest.php index a2ae4f3..0952f8f 100644 --- a/Tests/Formatter/MarkdownFormatterTest.php +++ b/Tests/Formatter/MarkdownFormatterTest.php @@ -124,7 +124,7 @@ _Action without HTTP verb_ ### `ANY` /my-commented/{id}/{page} ### -_This method is useful to test if the getDocComment works. And, it supports multilines until the first '@' char._ +_This method is useful to test if the getDocComment works._ #### Requirements #### diff --git a/Tests/Formatter/SimpleFormatterTest.php b/Tests/Formatter/SimpleFormatterTest.php index b472096..9b7abcf 100644 --- a/Tests/Formatter/SimpleFormatterTest.php +++ b/Tests/Formatter/SimpleFormatterTest.php @@ -167,7 +167,7 @@ class SimpleFormatterTest extends WebTestCase 'id' => array('type' => 'int', 'description' => 'A nice comment', 'value' => ''), 'page' => array('type' => 'int', 'description' => '', 'value' => ''), ), - 'description' => 'This method is useful to test if the getDocComment works. And, it supports multilines until the first \'@\' char.', + 'description' => 'This method is useful to test if the getDocComment works.', 'documentation' => "This method is useful to test if the getDocComment works.\nAnd, it supports multilines until the first '@' char." ), 3 =>