Skip to content

Commit 9db3a61

Browse files
Change expectation of status code for invalid key name
I guess they must have changed it on the backend to make the statusCode match the code?
1 parent 9db1057 commit 9db3a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/realtime/connection_failures_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
error = connection_state_change.reason
4747
expect(connection.state).to eq(:failed)
4848
# TODO: Check error type is a TokenNotFound exception
49-
expect(error.status).to eq(401)
49+
expect(error.status).to eq(404)
5050
expect(error.code).to eq(40400) # not found
5151
stop_reactor
5252
end

0 commit comments

Comments
 (0)