Skip to content

Commit 6c20ea9

Browse files
committed
Add tests for changed controllers
1 parent ec8e434 commit 6c20ea9

File tree

5 files changed

+61
-303
lines changed

5 files changed

+61
-303
lines changed

app/Http/Controllers/Base/AccountController.php

Lines changed: 0 additions & 86 deletions
This file was deleted.

tests/Unit/Http/Controllers/Base/AccountControllerTest.php

Lines changed: 0 additions & 132 deletions
This file was deleted.

tests/Unit/Http/Controllers/Base/IndexControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function testIndexController()
7676
->shouldReceive('filterUserAccessServers')->with($model, User::FILTER_LEVEL_ALL)
7777
->once()->andReturn($paginator);
7878

79-
$response = $this->controller->getIndex($this->request);
79+
$response = $this->controller->index($this->request);
8080
$this->assertIsViewResponse($response);
8181
$this->assertViewNameEquals('base.index', $response);
8282
$this->assertViewHasKey('servers', $response);

0 commit comments

Comments
 (0)