Get client API tests back into passing order

This commit is contained in:
Dane Everitt 2021-08-07 16:08:29 -07:00
parent 7169b481b1
commit cec96062e3
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 12 additions and 6 deletions

View file

@ -23,7 +23,7 @@ class WebsocketControllerTest extends ClientApiIntegrationTestCase
$this->actingAs($user)->getJson("/api/client/servers/{$server->uuid}/websocket")
->assertStatus(Response::HTTP_FORBIDDEN)
->assertJsonPath('errors.0.code', 'HttpForbiddenException')
->assertJsonPath('errors.0.code', 'AccessDeniedHttpException')
->assertJsonPath('errors.0.detail', 'You do not have permission to connect to this server\'s websocket.');
}