1
0
mirror of synced 2024-12-13 14:56:01 +03:00

fixed propper input to test so that it runs successfully

This commit is contained in:
meus 2007-09-03 22:21:39 +00:00
parent a989abdc22
commit 2c9e480037

View File

@ -79,7 +79,7 @@ class Doctrine_Export_Pgsql_TestCase extends Doctrine_UnitTestCase
}
public function testExportSql()
{
$sql = $this->export->exportClassesSql(array("FooRecord", "FooReferenceRecord", "FooLocallyOwned", "FooForeignlyOwned", "FooBarRecord", "BarRecord"));
$sql = $this->export->exportClassesSql(array("FooRecord", "FooReferenceRecord", "FooLocallyOwned", "FooForeignlyOwned", "FooForeignlyOwnedWithPK", "FooBarRecord", "BarRecord"));
//dirname(__FILE__) . DIRECTORY_SEPARATOR . '_files');
$this->assertEqual($sql, array ( 0 => 'CREATE TABLE foo_reference (foo1 BIGINT, foo2 BIGINT, PRIMARY KEY(foo1, foo2))',