public async Task CreateTournamentProviderAsyncTest() { IRiotClient client = new RiotClient(GetTournamentSettings()); long tournamentProviderId = await client.CreateTournamentProviderAsync("http://example.com", PlatformId.NA1, CancellationToken.None); Assert.That(tournamentProviderId, Is.GreaterThan(0)); }
public async Task CreateTournamentProviderAsyncTest() { IRiotClient client = new RiotClient(Region.NA, TournamentApiKey); var tournamentProviderId = await client.CreateTournamentProviderAsync("http://example.com"); Assert.That(tournamentProviderId, Is.GreaterThan(0)); }