mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Show playoff alliance numbers and 4th teams on Match Play screen.
This commit is contained in:
@@ -96,8 +96,11 @@ func TestPublishAlliances(t *testing.T) {
|
||||
tbaServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
var reader bytes.Buffer
|
||||
reader.ReadFrom(r.Body)
|
||||
assert.Equal(t, "[[\"frc254\",\"frc469\",\"frc2848\",\"frc74\"],[\"frc1718\",\"frc2451\"]]",
|
||||
reader.String())
|
||||
assert.Equal(
|
||||
t,
|
||||
"[[\"frc254\",\"frc469\",\"frc2848\",\"frc74\",\"frc3175\"],[\"frc1718\",\"frc2451\",\"frc1619\"]]",
|
||||
reader.String(),
|
||||
)
|
||||
}))
|
||||
defer tbaServer.Close()
|
||||
client := NewTbaClient("my_event_code", "my_secret_id", "my_secret")
|
||||
|
||||
Reference in New Issue
Block a user