mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Remove Some Trailing Comma
This commit is contained in:
parent
477442588a
commit
10d6d57ca7
@ -488,7 +488,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
|
|||||||
$reader->updateProperty(
|
$reader->updateProperty(
|
||||||
new \ReflectionProperty($entity, 'property1'),
|
new \ReflectionProperty($entity, 'property1'),
|
||||||
$schema->properties[0],
|
$schema->properties[0],
|
||||||
['other'],
|
['other']
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertSame(OA\UNDEFINED, $schema->required, 'should not have read constraint in default group');
|
$this->assertSame(OA\UNDEFINED, $schema->required, 'should not have read constraint in default group');
|
||||||
@ -512,7 +512,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
|
|||||||
$reader->updateProperty(
|
$reader->updateProperty(
|
||||||
new \ReflectionProperty($entity, 'property1'),
|
new \ReflectionProperty($entity, 'property1'),
|
||||||
$schema->properties[0],
|
$schema->properties[0],
|
||||||
['other', Constraint::DEFAULT_GROUP],
|
['other', Constraint::DEFAULT_GROUP]
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->assertSame(['property1'], $schema->required, 'should have read constraint in default group');
|
$this->assertSame(['property1'], $schema->required, 'should have read constraint in default group');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user