Skip to content

Commit 45a3533

Browse files
committed
Update WebsocketControllerTest.php
1 parent 4457543 commit 45a3533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Api/Client/Server/WebsocketControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function testSubuserWithoutWebsocketPermissionReceivesError()
2222

2323
$this->actingAs($user)->getJson("/api/client/servers/{$server->uuid}/websocket")
2424
->assertStatus(Response::HTTP_FORBIDDEN)
25-
->assertJsonPath('errors.0.code', 'HttpException')
25+
->assertJsonPath('errors.0.code', 'HttpForbiddenException')
2626
->assertJsonPath('errors.0.detail', 'You do not have permission to connect to this server\'s websocket.');
2727
}
2828

0 commit comments

Comments
 (0)