Implement bracket audience display for single-elimination.

This commit is contained in:
Patrick Fairbank
2022-08-20 17:25:17 -07:00
parent 5426d56de5
commit 996331d60c
5 changed files with 376 additions and 202 deletions

View File

@@ -27,7 +27,7 @@ func TestSetupSettings(t *testing.T) {
assert.NotContains(t, recorder.Body.String(), "tbaPublishingEnabled\" checked")
// Change the settings and check the response.
recorder = web.postHttpResponse("/setup/settings", "name=Chezy Champs&code=CC&numElimAlliances=16&"+
recorder = web.postHttpResponse("/setup/settings", "name=Chezy Champs&code=CC&elimType=single&numElimAlliances=16&"+
"tbaPublishingEnabled=on&tbaEventCode=2014cc&tbaSecretId=secretId&tbaSecret=tbasec")
assert.Equal(t, 303, recorder.Code)
recorder = web.getHttpResponse("/setup/settings")