Add tests for changed controllers
This commit is contained in:
parent
ec8e434375
commit
6c20ea9881
5 changed files with 62 additions and 304 deletions
|
@ -76,7 +76,7 @@ class IndexControllerTest extends ControllerTestCase
|
|||
->shouldReceive('filterUserAccessServers')->with($model, User::FILTER_LEVEL_ALL)
|
||||
->once()->andReturn($paginator);
|
||||
|
||||
$response = $this->controller->getIndex($this->request);
|
||||
$response = $this->controller->index($this->request);
|
||||
$this->assertIsViewResponse($response);
|
||||
$this->assertViewNameEquals('base.index', $response);
|
||||
$this->assertViewHasKey('servers', $response);
|
||||
|
|
Reference in a new issue