--- a/server/src/tests/Controllers/DocumentListControllerTest.php Sun Oct 16 22:23:31 2016 +0530
+++ b/server/src/tests/Controllers/DocumentListControllerTest.php Sun Oct 16 23:19:57 2016 +0530
@@ -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');