diff --git a/Source/StrongGrid.UnitTests/Resources/ApiKeysTests.cs b/Source/StrongGrid.UnitTests/Resources/ApiKeysTests.cs index c74d5823..ce059b3e 100644 --- a/Source/StrongGrid.UnitTests/Resources/ApiKeysTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/ApiKeysTests.cs @@ -119,7 +119,7 @@ public async Task GetAllAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/BlocksTests.cs b/Source/StrongGrid.UnitTests/Resources/BlocksTests.cs index 29658381..fea4d070 100644 --- a/Source/StrongGrid.UnitTests/Resources/BlocksTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/BlocksTests.cs @@ -68,8 +68,8 @@ public async Task GetAllAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(1); - result[0].Email.ShouldBe("user1@example.com"); + result.Records.Length.ShouldBe(1); + result.Records[0].Email.ShouldBe("user1@example.com"); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/InvalidEmailsTests.cs b/Source/StrongGrid.UnitTests/Resources/InvalidEmailsTests.cs index 0b811edd..c2bbe4d5 100644 --- a/Source/StrongGrid.UnitTests/Resources/InvalidEmailsTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/InvalidEmailsTests.cs @@ -74,7 +74,7 @@ public async Task GetAllAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/IpAddressesTests.cs b/Source/StrongGrid.UnitTests/Resources/IpAddressesTests.cs index 49678430..98ec83ee 100644 --- a/Source/StrongGrid.UnitTests/Resources/IpAddressesTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/IpAddressesTests.cs @@ -181,7 +181,7 @@ public async Task GetAllAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/SenderAuthenticationTests.cs b/Source/StrongGrid.UnitTests/Resources/SenderAuthenticationTests.cs index d68f342f..c7f8d7fd 100644 --- a/Source/StrongGrid.UnitTests/Resources/SenderAuthenticationTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/SenderAuthenticationTests.cs @@ -356,7 +356,7 @@ public async Task GetAllDomainsAsync_include_subusers() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] @@ -376,7 +376,7 @@ public async Task GetAllDomainsAsync_exclude_subusers() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] @@ -649,7 +649,7 @@ public async Task GetAllReverseDnsAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] @@ -981,7 +981,7 @@ public async Task GetAllLinksAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } } } diff --git a/Source/StrongGrid.UnitTests/Resources/SpamReportsTests.cs b/Source/StrongGrid.UnitTests/Resources/SpamReportsTests.cs index 285c857b..df184600 100644 --- a/Source/StrongGrid.UnitTests/Resources/SpamReportsTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/SpamReportsTests.cs @@ -74,7 +74,7 @@ public async Task GetAllAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/TeammatesTests.cs b/Source/StrongGrid.UnitTests/Resources/TeammatesTests.cs index 89d98a69..df7c0acc 100644 --- a/Source/StrongGrid.UnitTests/Resources/TeammatesTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/TeammatesTests.cs @@ -248,7 +248,7 @@ public async Task GetAllPendingInvitationsAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] @@ -331,7 +331,7 @@ public async Task GetAllTeammatesAsync() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } [Fact] diff --git a/Source/StrongGrid.UnitTests/Resources/WebhookSettingsTests.cs b/Source/StrongGrid.UnitTests/Resources/WebhookSettingsTests.cs index 50fc73f8..1b6ef2f8 100644 --- a/Source/StrongGrid.UnitTests/Resources/WebhookSettingsTests.cs +++ b/Source/StrongGrid.UnitTests/Resources/WebhookSettingsTests.cs @@ -246,7 +246,7 @@ public async Task GetAllInboundParseWebhookSettings() mockHttp.VerifyNoOutstandingExpectation(); mockHttp.VerifyNoOutstandingRequest(); result.ShouldNotBeNull(); - result.Length.ShouldBe(2); + result.Records.Length.ShouldBe(2); } } }