diff --git a/Source/StrongGrid.IntegrationTests/Tests/GlobalSuppressions.cs b/Source/StrongGrid.IntegrationTests/Tests/GlobalSuppressions.cs index 084b1a1a..06b2a8c4 100644 --- a/Source/StrongGrid.IntegrationTests/Tests/GlobalSuppressions.cs +++ b/Source/StrongGrid.IntegrationTests/Tests/GlobalSuppressions.cs @@ -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);