From cc2e2db77d0b5b5e1c4fafd5ee45f37e99a8e7cd Mon Sep 17 00:00:00 2001 From: CLAWLOR Date: Mon, 18 Nov 2024 08:22:40 +0000 Subject: [PATCH] remove build waring in test --- .../Tests/CompositionRootTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs b/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs index 74e81bc..d230be2 100644 --- a/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs +++ b/Dfe.Data.Common.Infrastructure.CognitiveSearch/Tests/CompositionRootTests.cs @@ -53,7 +53,7 @@ public async Task AddAzureSearchServices_RegistersAllDependencies() // act var response = - await searchByKeywordService + await searchByKeywordService! .SearchAsync( searchKeyword: "Test", searchIndex: "Index",