Fix tests

This commit is contained in:
William DURAND 2012-07-13 16:04:29 +02:00
parent 6c3aeff227
commit c4911f57d2
3 changed files with 3 additions and 3 deletions

View File

@ -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()
);
}

View File

@ -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 ####

View File

@ -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 =>