Skip to content

Commit 6b7b48b

Browse files
authored
Bypass api version check for Microsoft.Storage during test in Search with playback mode (#22963)
1 parent 27f36cb commit 6b7b48b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Search/Search.Test/ScenarioTests/SearchTestRunner.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ protected SearchTestRunner(ITestOutputHelper output)
3838
helper.GetRMModulePath("Az.Search.psd1"),
3939
helper.GetRMModulePath("Az.Storage.psd1")
4040
})
41+
.WithNewRecordMatcherArguments(
42+
userAgentsToIgnore: new Dictionary<string, string>(),
43+
resourceProviders: new Dictionary<string, string>
44+
{
45+
{ "Microsoft.Resources", null },
46+
{ "Microsoft.Features", null },
47+
{ "Microsoft.Authorization", null },
48+
{ "Providers.Test", null },
49+
{ "Microsoft.Storage", null }
50+
}
51+
)
4152
.Build();
4253
}
4354
}

0 commit comments

Comments
 (0)