From e5c4e6576488a948903075ec5eed28ce0e4bc588 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sat, 17 Jan 2015 05:38:37 +0100 Subject: [PATCH] #1178 - proxy identifiers should be correctly converted --- .../ValueConversionType/OneToManyCompositeIdForeignKeyTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Doctrine/Tests/ORM/Functional/ValueConversionType/OneToManyCompositeIdForeignKeyTest.php b/tests/Doctrine/Tests/ORM/Functional/ValueConversionType/OneToManyCompositeIdForeignKeyTest.php index dedd4dbaf..656847a15 100644 --- a/tests/Doctrine/Tests/ORM/Functional/ValueConversionType/OneToManyCompositeIdForeignKeyTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/ValueConversionType/OneToManyCompositeIdForeignKeyTest.php @@ -154,6 +154,8 @@ class OneToManyCompositeIdForeignKeyTest extends OrmFunctionalTestCase $inversedProxy = $owning->associatedEntity; + $this->assertSame('def', $inversedProxy->id1, 'Proxy identifier is converted'); + $this->assertEquals('some value to be loaded', $inversedProxy->someProperty); }