Skip to content

Commit

Permalink
Add DeploymentManagerTestRunner to replace DeploymentManagerController
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyuezh576 committed May 11, 2022
1 parent 28bac86 commit 94cce34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace Microsoft.Azure.Commands.DeploymentManager.Test.ScenarioTests
public class DeploymentManagerTestRunner
{
protected readonly ITestRunner TestRunner;

protected DeploymentManagerTestRunner(ITestOutputHelper output)
{
TestRunner = TestManager.CreateInstance(output)
Expand All @@ -40,10 +41,7 @@ protected DeploymentManagerTestRunner(ITestOutputHelper output)
helper.GetRMModulePath(@"Az.DeploymentManager.psd1")
})
.WithNewRecordMatcherArguments(
userAgentsToIgnore: new Dictionary<string, string>
{

},
userAgentsToIgnore: new Dictionary<string, string>(),
resourceProviders: new Dictionary<string, string>
{
{"Microsoft.Resources", null},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ namespace Microsoft.Azure.Commands.DeploymentManager.Test.ScenarioTests

public class DeploymentManagerTests : DeploymentManagerTestRunner
{

public DeploymentManagerTests(ITestOutputHelper output) : base(output)
{
}
Expand Down

0 comments on commit 94cce34

Please sign in to comment.