From 3f09e2095585b28d2fb9207f68a826a3a878d5ae Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Tue, 22 Aug 2017 21:31:01 +0200 Subject: [PATCH] #6284 correcting alignment, removing stuff that isn't strictly needed --- .../Tests/ORM/Functional/Ticket/GH6217Test.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/GH6217Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/GH6217Test.php index 675024844..504e01389 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/GH6217Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/GH6217Test.php @@ -11,19 +11,17 @@ final class GH6217Test extends OrmFunctionalTestCase parent::setUp(); - $this->_schemaTool->createSchema( - [ - $this->_em->getClassMetadata(GH6217LazyEntity::class), - $this->_em->getClassMetadata(GH6217EagerEntity::class), - $this->_em->getClassMetadata(GH6217FetchedEntity::class), - ] - ); + $this->_schemaTool->createSchema([ + $this->_em->getClassMetadata(GH6217LazyEntity::class), + $this->_em->getClassMetadata(GH6217EagerEntity::class), + $this->_em->getClassMetadata(GH6217FetchedEntity::class), + ]); } /** * @group 6217 */ - public function testRetrievingCacheShouldNotThrowUndefinedIndexException() + public function testLoadingOfSecondLevelCacheOnEagerAssociations() { $user = new GH6217LazyEntity(); $category = new GH6217EagerEntity();