Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testForeignKeysIsNotCompared(): void |
||
|
|||
14 | { |
||
15 | if ($this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
||
16 | $this->markTestSkipped('Test for platforms without foreign keys support'); |
||
17 | } |
||
18 | $class = $this->em->getClassMetadata(SqliteSchemaToolChild::class); |
||
19 | $this->schemaTool->updateSchema([$class]); |
||
20 | $diff = $this->schemaTool->getUpdateSchemaSql([$class]); |
||
21 | |||
22 | self::assertEmpty($diff); |
||
23 | } |
||
54 |