Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | public function testForeignKeysIsNotCompared(): void |
||
22 | { |
||
23 | if ($this->em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
||
24 | $this->markTestSkipped('Test for platforms without foreign keys support'); |
||
25 | } |
||
26 | $class = $this->em->getClassMetadata(SqliteSchemaToolChild::class); |
||
27 | $this->schemaTool->updateSchema([$class]); |
||
28 | $diff = $this->schemaTool->getUpdateSchemaSql([$class]); |
||
29 | |||
30 | self::assertCount(0, $diff); |
||
31 | } |
||
62 |