From 437047123fabbfa31513c9e1ef04d3aa922e3fc9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Sep 2016 07:20:44 +0200 Subject: php-doctrine-dbal: 2.5.5 (backported from Fedora) --- php-doctrine-dbal-phpunit54.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 php-doctrine-dbal-phpunit54.patch (limited to 'php-doctrine-dbal-phpunit54.patch') 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'); -- cgit