diff --git a/composer.json b/composer.json index b130a2d5..ae14c4b5 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=7.0", - "doctrine/orm": "2.5.*", + "doctrine/orm": "2.5.*|2.6.*", "illuminate/auth": "5.5.*|5.6.*", "illuminate/console": "5.5.*|5.6.*", "illuminate/container": "5.5.*|5.6.*", diff --git a/tests/Pagination/PaginatorAdapterTest.php b/tests/Pagination/PaginatorAdapterTest.php index 23f5a18a..87fd351a 100644 --- a/tests/Pagination/PaginatorAdapterTest.php +++ b/tests/Pagination/PaginatorAdapterTest.php @@ -88,6 +88,7 @@ private function mockEntityManager() $connection->shouldReceive('getDatabasePlatform')->andReturn($platform); $connection->shouldReceive('executeQuery')->andReturn([]); + $connection->shouldReceive('getParams')->andReturn([]); $platform->shouldReceive('appendLockHint')->andReturnUsing(function ($a) { return $a;