mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Tweak logo sizes and positions.
This commit is contained in:
@@ -43,8 +43,8 @@ func TestPatchScores(t *testing.T) {
|
||||
|
||||
web.arena.MatchState = field.PreMatch
|
||||
recorder = web.patchHttpResponse("/api/scores", "{}")
|
||||
assert.Equal(t, 200, recorder.Code)
|
||||
assert.Equal(t, recorder.Body.String(), "Score cannot be updated in this match state")
|
||||
assert.Equal(t, 400, recorder.Code)
|
||||
assert.Equal(t, "Score cannot be updated in this match state\n", recorder.Body.String())
|
||||
|
||||
score1 := game.TestScore1()
|
||||
score2 := game.TestScore2()
|
||||
@@ -85,8 +85,8 @@ func TestPutScores(t *testing.T) {
|
||||
|
||||
web.arena.MatchState = field.PreMatch
|
||||
recorder = web.putHttpResponse("/api/scores", "{}")
|
||||
assert.Equal(t, 200, recorder.Code)
|
||||
assert.Equal(t, recorder.Body.String(), "Score cannot be updated in this match state")
|
||||
assert.Equal(t, 400, recorder.Code)
|
||||
assert.Equal(t, "Score cannot be updated in this match state\n", recorder.Body.String())
|
||||
|
||||
score1 := game.TestScore1()
|
||||
score2 := game.TestScore2()
|
||||
|
||||
Reference in New Issue
Block a user