diff options
Diffstat (limited to 'php-doctrine-dbal-phpunit54.patch')
-rw-r--r-- | php-doctrine-dbal-phpunit54.patch | 22 |
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'); |