summaryrefslogtreecommitdiffstats
path: root/php-doctrine-orm-phpunit54.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-10 17:47:50 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-10 17:47:50 +0200
commit792274c85f2bbcfa3331d0367f2c95df65570676 (patch)
treee9e5160b8136958458ab05a4d1a7715b8e06b731 /php-doctrine-orm-phpunit54.patch
parent01441ed23101d329b5b7439d96265891017413ec (diff)
php-doctrine-orm: 2.4.8 (backported from Fedora)
Diffstat (limited to 'php-doctrine-orm-phpunit54.patch')
-rw-r--r--php-doctrine-orm-phpunit54.patch12
1 files changed, 12 insertions, 0 deletions
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);