Skip to content

Commit

Permalink
(GH-361) Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Jan 19, 2021
1 parent 444698d commit 5a66d86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public async Task RunAsync(IBaseClient client, TextWriter log, CancellationToken

// GET ALL ADDRESSES ON THE SUPPRESSION LIST
var paginatedResult = await client.GlobalSuppressions.GetAllAsync(null, null, 1, 0, null, CancellationToken.None).ConfigureAwait(false);
await log.WriteLineAsync($"There are {paginatedResult.Last.PageNumber} addresses on the global suppression list").ConfigureAwait(false);
await log.WriteLineAsync($"There are {int.Parse(paginatedResult.Last.Title)} addresses on the global suppression list").ConfigureAwait(false);

// DELETE EMAILS FROM THE GLOBAL SUPPRESSION GROUP
await client.GlobalSuppressions.RemoveAsync(emails[0], null, cancellationToken).ConfigureAwait(false);
Expand Down

0 comments on commit 5a66d86

Please sign in to comment.