Merge pull request #6142 from mbeccati/php72-count-fix
Fix incompatibility w/ PHP7.2+
This commit is contained in:
commit
899393d3bb
@ -135,7 +135,9 @@ class QueryCacheTest extends OrmFunctionalTestCase
|
||||
->method('execute')
|
||||
->will($this->returnValue( 10 ));
|
||||
|
||||
$parserResultMock = $this->createMock(ParserResult::class);
|
||||
$parserResultMock = $this->getMockBuilder(ParserResult::class)
|
||||
->setMethods(array('getSqlExecutor'))
|
||||
->getMock();
|
||||
$parserResultMock->expects($this->once())
|
||||
->method('getSqlExecutor')
|
||||
->will($this->returnValue($sqlExecMock));
|
||||
|
Loading…
x
Reference in New Issue
Block a user