diff --git a/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs b/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs index c005d53..74e81bc 100644 --- a/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs +++ b/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs @@ -58,7 +58,7 @@ await searchByKeywordService searchKeyword: "Test", searchIndex: "Index", searchOptions: new Azure.Search.Documents.SearchOptions() - ); + )!; response.Should().NotBeNull(); }