1
0
mirror of synced 2024-12-13 06:46:03 +03:00

[2.0] Fixing php error

This commit is contained in:
jwage 2010-02-26 02:00:41 +00:00
parent 61a4a35694
commit 50e9d8c547

View File

@ -236,7 +236,8 @@ class SchemaTest extends \PHPUnit_Framework_TestCase
$this->assertNotSame($tableB, $schemaNew->getTable('bar'));
$this->assertNotSame($tableB->getColumn('id'), $schemaNew->getTable('bar')->getColumn('id'));
$fk = current( $schemaNew->getTable('bar')->getForeignKeys() );
$fk = $schemaNew->getTable('bar')->getForeignKeys();
$fk = current($fk);
$this->assertSame($schemaNew->getTable('bar'), $this->readAttribute($fk, '_localTable'));
}
}