mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Fixed broken tests.
This commit is contained in:
@@ -47,9 +47,9 @@ func TestSetupSchedule(t *testing.T) {
|
||||
assert.Contains(t, recorder.Body.String(), "Failed to publish matches")
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, 64, len(matches))
|
||||
assert.Equal(t, 1388595600, matches[0].Time.Unix())
|
||||
assert.Equal(t, 1388685360, matches[7].Time.Unix())
|
||||
assert.Equal(t, 1388782800, matches[24].Time.Unix())
|
||||
assert.Equal(t, int64(1388595600), matches[0].Time.Unix())
|
||||
assert.Equal(t, int64(1388685360), matches[7].Time.Unix())
|
||||
assert.Equal(t, int64(1388782800), matches[24].Time.Unix())
|
||||
}
|
||||
|
||||
func TestSetupScheduleErrors(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user