--- a/server/src/tests/Controllers/DocumentListControllerTest.php Sun Oct 09 11:44:18 2016 +0200
+++ b/server/src/tests/Controllers/DocumentListControllerTest.php Tue Oct 11 02:49:59 2016 +0200
@@ -104,12 +104,12 @@
public function testIndex() {
$this->documentRepository
- ->shouldReceive('paginateAll')
+ ->shouldReceive('paginate')
->once()
->andReturn(
new LengthAwarePaginator([], 0, 10, 1, [
'path' => '',
- 'pageName' => 'page',
+ 'pageName' => config('corpusparole.pagination_page_param'),
]));
$response = $this->call('GET', '/bo/docs');