From 5a66d8684ce6b2be2b9cbe907b8569ff041db18a Mon Sep 17 00:00:00 2001 From: Jericho Date: Tue, 19 Jan 2021 11:32:57 -0500 Subject: [PATCH] (GH-361) Fix integration test --- Source/StrongGrid.IntegrationTests/Tests/GlobalSuppressions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);