Fix test, update changelog
This commit is contained in:
parent
9b654d2c76
commit
8dd31f895e
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
|||
* Terminal was not properly displaying longer lines leading to some visual inconsistency.
|
||||
* Assorted translation updates.
|
||||
* Pagination for server listing now properly respects configuration setting.
|
||||
* Client API now properly respects permissions that are set and allows subusers to access their assigned servers.
|
||||
|
||||
### Changed
|
||||
* Removed PhraseApp integration from Panel code as it is no longer used.
|
||||
|
|
|
@ -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…
Reference in a new issue