Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function testIssue() : void |
||
14 | { |
||
15 | $parsedDefinition = [ |
||
16 | 'sequenceName' => 'test_sequence', |
||
17 | 'allocationSize' => '', |
||
18 | 'initialValue' => '', |
||
19 | ]; |
||
20 | |||
21 | $classMetadataInfo = new ClassMetadataInfo('test_entity'); |
||
22 | $classMetadataInfo->setSequenceGeneratorDefinition($parsedDefinition); |
||
23 | |||
24 | self::assertSame( |
||
25 | ['sequenceName' => 'test_sequence', 'allocationSize' => '1', 'initialValue' => '1'], |
||
26 | $classMetadataInfo->sequenceGeneratorDefinition |
||
27 | ); |
||
30 |