From 22f1341fea12237bb1fbb91da2539c64b1224e39 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 7 Aug 2021 09:19:21 -0700 Subject: [PATCH] reformat --- .../Integration/Api/Client/Server/WebsocketControllerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Integration/Api/Client/Server/WebsocketControllerTest.php b/tests/Integration/Api/Client/Server/WebsocketControllerTest.php index b3f31256..d2656015 100644 --- a/tests/Integration/Api/Client/Server/WebsocketControllerTest.php +++ b/tests/Integration/Api/Client/Server/WebsocketControllerTest.php @@ -3,7 +3,6 @@ namespace Pterodactyl\Tests\Integration\Api\Client\Server; use Carbon\CarbonImmutable; -use Pterodactyl\Models\User; use Illuminate\Http\Response; use Lcobucci\JWT\Configuration; use Pterodactyl\Models\Permission; @@ -33,7 +32,7 @@ class WebsocketControllerTest extends ClientApiIntegrationTestCase */ public function testUserWithoutPermissionForServerReceivesError() { - [,$server] = $this->generateTestAccount([Permission::ACTION_WEBSOCKET_CONNECT]); + [, $server] = $this->generateTestAccount([Permission::ACTION_WEBSOCKET_CONNECT]); [$user,] = $this->generateTestAccount([Permission::ACTION_WEBSOCKET_CONNECT]); $this->actingAs($user)->getJson("/api/client/servers/{$server->uuid}/websocket")