File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/Integration/Api/Client/Server Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 33namespace Pterodactyl \Tests \Integration \Api \Client \Server ;
44
55use Carbon \CarbonImmutable ;
6- use Pterodactyl \Models \User ;
76use Illuminate \Http \Response ;
87use Lcobucci \JWT \Configuration ;
98use Pterodactyl \Models \Permission ;
@@ -33,7 +32,7 @@ public function testSubuserWithoutWebsocketPermissionReceivesError()
3332 */
3433 public function testUserWithoutPermissionForServerReceivesError ()
3534 {
36- [,$ server ] = $ this ->generateTestAccount ([Permission::ACTION_WEBSOCKET_CONNECT ]);
35+ [, $ server ] = $ this ->generateTestAccount ([Permission::ACTION_WEBSOCKET_CONNECT ]);
3736 [$ user ,] = $ this ->generateTestAccount ([Permission::ACTION_WEBSOCKET_CONNECT ]);
3837
3938 $ this ->actingAs ($ user )->getJson ("/api/client/servers/ {$ server ->uuid }/websocket " )
You can’t perform that action at this time.
0 commit comments