mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 06:06:47 -04:00
Refactor tournament progression methods into separate package.
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"fmt"
|
||||
"github.com/Team254/cheesy-arena/game"
|
||||
"github.com/Team254/cheesy-arena/model"
|
||||
"github.com/Team254/cheesy-arena/tournament"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"io"
|
||||
"mime/multipart"
|
||||
@@ -72,7 +73,7 @@ func TestSetupSettingsClearDb(t *testing.T) {
|
||||
assert.Empty(t, matches)
|
||||
rankings, _ := db.GetAllRankings()
|
||||
assert.Empty(t, rankings)
|
||||
db.CalculateRankings()
|
||||
tournament.CalculateRankings(db)
|
||||
assert.Empty(t, rankings)
|
||||
alliances, _ := db.GetAllAlliances()
|
||||
assert.Empty(t, alliances)
|
||||
|
||||
Reference in New Issue
Block a user