From c4d170969c9f4db8c7a399e8984783f9d2bf215f Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Boll Date: Thu, 19 Dec 2024 13:13:21 +0100 Subject: [PATCH] Fix test --- tooling/templatize/internal/end2end/e2e_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tooling/templatize/internal/end2end/e2e_test.go b/tooling/templatize/internal/end2end/e2e_test.go index 4627f9852..ad30bf7e0 100644 --- a/tooling/templatize/internal/end2end/e2e_test.go +++ b/tooling/templatize/internal/end2end/e2e_test.go @@ -296,13 +296,7 @@ func TestE2EArmDeploySubscriptionScope(t *testing.T) { tmpDir := t.TempDir() e2eImpl := newE2E(tmpDir) - e2eImpl.AddStep(pipeline.Step{ - Name: "parameterA", - Action: "ARM", - Template: "testa.bicep", - Parameters: "testa.bicepparm", - DeploymentLevel: "Subscription", - }, 0) + e2eImpl.AddStep(pipeline.NewARMStep("parameterA", "testa.bicep", "testa.bicepparm").WithDeploymentLevel("Subscription"), 0) rgName := GenerateRandomRGName() e2eImpl.AddBicepTemplate(fmt.Sprintf(` targetScope='subscription'