Skip to content

Commit

Permalink
Increase the amount of clans to search for CWL test
Browse files Browse the repository at this point in the history
  • Loading branch information
tparviainen committed Jan 27, 2024
1 parent c9579a5 commit 829b321
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ClashOfClans.Tests.Integration/ClansTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,13 @@ public async Task RetrieveInformationAboutClansCurrentClanWarLeagueGroupAndWar()
{
// Arrange
var taskList = new List<Task<ClanWarLeagueGroup>>();
var clanTags = _clans.Where(c => c.IsWarLogPublic).Select(c => c.Tag).ToList();
var location = GetRandom(_locations, l => l.IsCountry);
var clans = (ClanList)await _coc.Clans.SearchClansAsync(new QueryClans
{
LocationId = location.Id,
MinMembers = 15
});
var clanTags = clans.Where(c => c.IsWarLogPublic).Select(c => c.Tag).ToList();
clanTags.AddRange(ClanTags);

// Act
Expand Down

0 comments on commit 829b321

Please sign in to comment.