We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468cba7 commit 4953da5Copy full SHA for 4953da5
tests/CompaniesHouse.IntegrationTests/Tests/OfficerTests/OfficersTestsInvalid.cs
@@ -16,9 +16,13 @@ protected override async Task When()
16
}
17
18
[Test]
19
- public void ThenTheDataItemsAreNull()
+ public void ThenTheDataIsFullWithEmptyProperties()
20
{
21
- Assert.That(Result.Data, Is.Null);
+ Assert.That(Result.Data.Items, Is.Empty);
22
+ Assert.That(Result.Data.ActiveCount, Is.EqualTo(0));
23
+ Assert.That(Result.Data.ResignedCount,Is.EqualTo(0));
24
+ Assert.That(Result.Data.StartIndex, Is.EqualTo(0));
25
+ Assert.That(Result.Data.TotalResults, Is.EqualTo(0));;
26
27
28
private async Task WhenRetrievingAnCompanyFilingHistoryForAnInvalidCompany()
0 commit comments