From 792274c85f2bbcfa3331d0367f2c95df65570676 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 10 Jul 2016 17:47:50 +0200 Subject: php-doctrine-orm: 2.4.8 (backported from Fedora) --- php-doctrine-orm-phpunit54.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 php-doctrine-orm-phpunit54.patch (limited to 'php-doctrine-orm-phpunit54.patch') diff --git a/php-doctrine-orm-phpunit54.patch b/php-doctrine-orm-phpunit54.patch new file mode 100644 index 0000000..493c613 --- /dev/null +++ b/php-doctrine-orm-phpunit54.patch @@ -0,0 +1,12 @@ +--- tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2692Test.php.old 2016-06-13 18:09:07.905814745 +0200 ++++ tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2692Test.php 2016-06-13 18:09:59.319090970 +0200 +@@ -29,7 +29,8 @@ + + public function testIsListenerCalledOnlyOnceOnPreFlush() + { +- $listener = $this->getMock('Doctrine\Tests\ORM\Functional\Ticket\DDC2692Listener', array('preFlush')); ++ $listener = $this->getMockObjectGenerator()->getMock('Doctrine\Tests\ORM\Functional\Ticket\DDC2692Listener', array('preFlush')); ++ $this->registerMockObject($listener); + $listener->expects($this->once())->method('preFlush'); + + $this->_em->getEventManager()->addEventSubscriber($listener); -- cgit