Commit 0b355ce2 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #283 from deeky666/fix-schema-manager-test-case

Fix SchemaManagerFunctionalTestCase composite foreign keys test
parents 427a48c8 16e60e80
...@@ -639,7 +639,7 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest ...@@ -639,7 +639,7 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
$this->_sm->createTable($this->getTestCompositeTable('test_create_fk4')); $this->_sm->createTable($this->getTestCompositeTable('test_create_fk4'));
$foreignKey = new \Doctrine\DBAL\Schema\ForeignKeyConstraint( $foreignKey = new \Doctrine\DBAL\Schema\ForeignKeyConstraint(
array('id', 'foreign_key_test'), 'test_create_fk4', array('id', 'other_id'), 'foreign_key_test_fk' array('id', 'foreign_key_test'), 'test_create_fk4', array('id', 'other_id'), 'foreign_key_test_fk2'
); );
$this->_sm->createForeignKey($foreignKey, 'test_create_fk3'); $this->_sm->createForeignKey($foreignKey, 'test_create_fk3');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment