We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4457543 commit 45a3533Copy full SHA for 45a3533
tests/Integration/Api/Client/Server/WebsocketControllerTest.php
@@ -22,7 +22,7 @@ public function testSubuserWithoutWebsocketPermissionReceivesError()
22
23
$this->actingAs($user)->getJson("/api/client/servers/{$server->uuid}/websocket")
24
->assertStatus(Response::HTTP_FORBIDDEN)
25
- ->assertJsonPath('errors.0.code', 'HttpException')
+ ->assertJsonPath('errors.0.code', 'HttpForbiddenException')
26
->assertJsonPath('errors.0.detail', 'You do not have permission to connect to this server\'s websocket.');
27
}
28
0 commit comments