Fix test on PostgreSQL
This commit is contained in:
parent
fe292cc503
commit
4aafeaf7a6
@ -124,6 +124,8 @@ class PostgreSqlSchemaToolTest extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
$tool->createSchema($classes);
|
$tool->createSchema($classes);
|
||||||
|
|
||||||
$sql = $tool->getUpdateSchemaSql($classes);
|
$sql = $tool->getUpdateSchemaSql($classes);
|
||||||
|
$sql = array_filter($sql, function($sql) { return (strpos($sql, "DROP SEQUENCE stonewood.") === 0); });
|
||||||
|
|
||||||
$this->assertCount(0, $sql, implode("\n", $sql));
|
$this->assertCount(0, $sql, implode("\n", $sql));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user