public async Task CreateTournamentAsyncTest() { IRiotClient client = new RiotClient(GetTournamentSettings()); long tournamentId = await client.CreateTournamentAsync(158, "test", CancellationToken.None); Assert.That(tournamentId, Is.GreaterThan(0)); }
public async Task CreateTournamentAsyncTest() { IRiotClient client = new RiotClient(Region.NA, TournamentApiKey); var tournamentId = await client.CreateTournamentAsync(206, "test"); Assert.That(tournamentId, Is.GreaterThan(0)); }