Fix test, update changelog
This commit is contained in:
parent
9b654d2c76
commit
8dd31f895e
2 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,7 @@ class IndexControllerTest extends ControllerTestCase
|
|||
|
||||
$this->request->shouldReceive('input')->with('query')->once()->andReturn('searchTerm');
|
||||
$this->repository->shouldReceive('setSearchTerm')->with('searchTerm')->once()->andReturnSelf()
|
||||
->shouldReceive('filterUserAccessServers')->with($model, User::FILTER_LEVEL_ALL)
|
||||
->shouldReceive('filterUserAccessServers')->with($model, User::FILTER_LEVEL_ALL, config('pterodactyl.paginate.frontend.servers'))
|
||||
->once()->andReturn($paginator);
|
||||
|
||||
$response = $this->controller->getIndex($this->request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue