|
|
|
|
@ -236,9 +236,7 @@ final class ServerDataTests: XCTestCase { |
|
|
|
|
let rounds: [Round] = try await StoreCenter.main.service().get() |
|
|
|
|
let parentRoundId = rounds.first?.id |
|
|
|
|
|
|
|
|
|
let round = Round(tournament: tournamentId, index: 1, parent: parentRoundId, matchFormat: MatchFormat.nineGames, startDate: Date(), groupStageLoserBracket: false, loserBracketMode: .manual, |
|
|
|
|
plannedStartDate: Date() |
|
|
|
|
) |
|
|
|
|
let round = Round(tournament: tournamentId, index: 1, parent: parentRoundId, format: MatchFormat.nineGames, startDate: Date(), groupStageLoserBracket: false, loserBracketMode: .manual, plannedStartDate: Date()) |
|
|
|
|
round.storeId = "abc" |
|
|
|
|
if let r: Round = try await StoreCenter.main.service().post(round) { |
|
|
|
|
|
|
|
|
|
|