Fix test, update changelog
This commit is contained in:
parent
9b654d2c76
commit
8dd31f895e
|
@ -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.
|
* Terminal was not properly displaying longer lines leading to some visual inconsistency.
|
||||||
* Assorted translation updates.
|
* Assorted translation updates.
|
||||||
* Pagination for server listing now properly respects configuration setting.
|
* 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
|
### Changed
|
||||||
* Removed PhraseApp integration from Panel code as it is no longer used.
|
* 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->request->shouldReceive('input')->with('query')->once()->andReturn('searchTerm');
|
||||||
$this->repository->shouldReceive('setSearchTerm')->with('searchTerm')->once()->andReturnSelf()
|
$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);
|
->once()->andReturn($paginator);
|
||||||
|
|
||||||
$response = $this->controller->getIndex($this->request);
|
$response = $this->controller->getIndex($this->request);
|
||||||
|
|
Loading…
Reference in New Issue