mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-10 11:39:25 +03:00
Fix property naming
This commit is contained in:
parent
7f9b00d620
commit
73ad2e3cdf
@ -50,11 +50,11 @@ class FOSRestTest extends WebTestCase
|
|||||||
$this->assertEquals(OA\UNDEFINED, $bazProperty->pattern);
|
$this->assertEquals(OA\UNDEFINED, $bazProperty->pattern);
|
||||||
$this->assertEquals('IsTrue', $bazProperty->format);
|
$this->assertEquals('IsTrue', $bazProperty->format);
|
||||||
|
|
||||||
$barProperty = $this->getProperty($bodySchema, 'datetime');
|
$dateTimeProperty = $this->getProperty($bodySchema, 'datetime');
|
||||||
$this->assertEquals('date-time', $barProperty->format);
|
$this->assertEquals('date-time', $dateTimeProperty->format);
|
||||||
|
|
||||||
$barProperty = $this->getProperty($bodySchema, 'date');
|
$dateProperty = $this->getProperty($bodySchema, 'date');
|
||||||
$this->assertEquals('date', $barProperty->format);
|
$this->assertEquals('date', $dateProperty->format);
|
||||||
|
|
||||||
// The _format path attribute should be removed
|
// The _format path attribute should be removed
|
||||||
$this->assertNotHasParameter('_format', 'path', $operation);
|
$this->assertNotHasParameter('_format', 'path', $operation);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user