mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix tests
This commit is contained in:
parent
6c3aeff227
commit
c4911f57d2
@ -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()
|
||||
);
|
||||
}
|
||||
|
@ -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 ####
|
||||
|
||||
|
@ -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 =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user