diff --git a/tests/Feature/Permissions/Controllers/API/ServersControllerTest.php b/tests/Feature/Permissions/Controllers/API/ServersControllerTest.php index d340ca1f..fc8a6894 100644 --- a/tests/Feature/Permissions/Controllers/API/ServersControllerTest.php +++ b/tests/Feature/Permissions/Controllers/API/ServersControllerTest.php @@ -26,7 +26,7 @@ public function setUp(): void public function routesDataProvider() { return [ - ['api.servers.store'], + ['api.servers.store', []], ['api.servers.save', ['server' => $this->server->id]], ['api.servers.destroy', ['server' => $this->server->id]], ]; @@ -76,7 +76,7 @@ public function userRoutesDataProvider() ]; } - public function testForbiddenForUser(string $method, string $route, array $params = []) + public function testForbiddenForUser() { $this->setCurrentUserRoles(['user']);