Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function testForeignKeysNotCompare() : void |
||
16 | { |
||
17 | if ($this->_em->getConnection()->getDatabasePlatform()->supportsForeignKeyConstraints()) { |
||
18 | $this->markTestSkipped('Test for platforms without foreign keys support'); |
||
19 | } |
||
20 | $class = $this->_em->getClassMetadata(GH7841Child::class); |
||
21 | $this->_schemaTool->updateSchema([$class], true); |
||
22 | $diff = $this->_schemaTool->getUpdateSchemaSql([$class], true); |
||
23 | |||
24 | self::assertEmpty($diff); |
||
25 | |||
26 | $this->_schemaTool->dropSchema([$class]); |
||
27 | } |
||
58 |