Fix foreign key columns order in Oracle #474

Merged
merged 1 commit into from Dec 29, 2013

3 participants

@deeky666
Doctrine member

The order of columns in foreign key constraints is not synchronized by the Oracle platform.

Failing test:

Doctrine\Tests\DBAL\Functional\Schema\OracleSchemaManagerTest::testListForeignKeysComposite
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'id'
-    1 => 'foreign_key_test'
+    0 => 'foreign_key_test'
+    1 => 'id'
 )

/home/deeky/dev/doctrine/dbal/tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php:672
@doctrinebot

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-741

We use Jira to track the state of pull requests and the versions they got
included in.

@beberlei beberlei merged commit 9bc6cd0 into doctrine:master Dec 29, 2013

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment