mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Convert HTTP 302 responses to more-accurate 303.
This commit is contained in:
@@ -30,6 +30,6 @@ func TestPitDisplayWebsocket(t *testing.T) {
|
||||
|
||||
// Check forced reloading as that is the only purpose the pit websocket serves.
|
||||
recorder := web.getHttpResponse("/setup/field/reload_displays")
|
||||
assert.Equal(t, 302, recorder.Code)
|
||||
assert.Equal(t, 303, recorder.Code)
|
||||
readWebsocketType(t, ws, "reload")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user