From 6eb881b725bce3a7de425182d68ef0d13e6521c9 Mon Sep 17 00:00:00 2001 From: George Blue Date: Mon, 7 Oct 2024 15:24:24 +0100 Subject: [PATCH] test: updates to allow #1102 to be merged These are some changes to tests that when merged with PR #1102 will hopefully allow the tests to continue working. --- pkg/providers/tf/deployment_manager_test.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg/providers/tf/deployment_manager_test.go b/pkg/providers/tf/deployment_manager_test.go index 7f929c41e..8eb7fdb35 100644 --- a/pkg/providers/tf/deployment_manager_test.go +++ b/pkg/providers/tf/deployment_manager_test.go @@ -424,8 +424,9 @@ var _ = Describe("DeploymentManager", func() { By("checking that the modules and instances are updated, but the state remains the same") expectedWorkspace := &workspace.TerraformWorkspace{ Modules: []workspace.ModuleDefinition{{ - Name: "brokertemplate", - Definition: template, + Name: "brokertemplate", + Definition: template, + Definitions: map[string]string{}, }}, Instances: []workspace.ModuleInstance{{ ModuleName: "brokertemplate", @@ -505,8 +506,9 @@ var _ = Describe("DeploymentManager", func() { By("checking that the modules and instances are updated, but the state remains the same") expectedWorkspace := &workspace.TerraformWorkspace{ Modules: []workspace.ModuleDefinition{{ - Name: "brokertemplate", - Definition: template, + Name: "brokertemplate", + Definition: template, + Definitions: map[string]string{}, }}, Instances: []workspace.ModuleInstance{{ ModuleName: "brokertemplate",