summaryrefslogtreecommitdiffstats
path: root/php-doctrine-dbal-phpunit54.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-27 07:20:44 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-27 07:20:44 +0200
commit437047123fabbfa31513c9e1ef04d3aa922e3fc9 (patch)
treee264097da024d332d91c277cbc3491c90fb36fa6 /php-doctrine-dbal-phpunit54.patch
parentde031e9f5df9327e05e058c52b0e3b955cc5d114 (diff)
php-doctrine-dbal: 2.5.5 (backported from Fedora)
Diffstat (limited to 'php-doctrine-dbal-phpunit54.patch')
-rw-r--r--php-doctrine-dbal-phpunit54.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/php-doctrine-dbal-phpunit54.patch b/php-doctrine-dbal-phpunit54.patch
new file mode 100644
index 0000000..8c53d09
--- /dev/null
+++ b/php-doctrine-dbal-phpunit54.patch
@@ -0,0 +1,22 @@
+--- tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php.old 2016-06-13 17:57:43.021134891 +0200
++++ tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php 2016-06-13 17:57:47.140157022 +0200
+@@ -275,7 +275,8 @@
+
+ $this->_sm->dropAndCreateTable($table);
+
+- $listenerMock = $this->getMock('ListTableColumnsDispatchEventListener', array('onSchemaColumnDefinition'));
++ $listenerMock = $this->getMockObjectGenerator()->getMock('ListTableColumnsDispatchEventListener', array('onSchemaColumnDefinition'));
++ $this->registerMockObject($listenerMock);
+ $listenerMock
+ ->expects($this->exactly(7))
+ ->method('onSchemaColumnDefinition');
+@@ -300,7 +301,8 @@
+
+ $this->_sm->dropAndCreateTable($table);
+
+- $listenerMock = $this->getMock('ListTableIndexesDispatchEventListener', array('onSchemaIndexDefinition'));
++ $listenerMock = $this->getMockObjectGenerator()->getMock('ListTableIndexesDispatchEventListener', array('onSchemaIndexDefinition'));
++ $this->registerMockObject($listenerMock);
+ $listenerMock
+ ->expects($this->exactly(3))
+ ->method('onSchemaIndexDefinition');