From 7d81d664d0c7a0e365f4f0a42dca0254e7a9d678 Mon Sep 17 00:00:00 2001 From: philthoennissen Date: Tue, 17 Sep 2024 14:59:11 +0200 Subject: [PATCH] one tab was missing Signed-off-by: philthoennissen --- tests/local/main.tftest.hcl | 6 +++--- tests/local/mock_provider/data.tfmock.hcl | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/local/main.tftest.hcl b/tests/local/main.tftest.hcl index 7dee970..260dfd5 100644 --- a/tests/local/main.tftest.hcl +++ b/tests/local/main.tftest.hcl @@ -6,7 +6,7 @@ variables { location = "germanywestcentral" resource_group_name = "rg-lets-launch" management_groups = ["cdt-mgmt"] - subscription_ids = ["12345678-1234-9876-4563-123456789012"] + subscription_ids = ["12345678-1234-9876-4563-123456789012"] } mock_provider "azurerm" { source = "./tests/local/mock_provider" @@ -52,10 +52,10 @@ run "use_undefined_arch" { expect_failures = [var.runner_arch] } -run "use_wrong_format_for_sub_id"{ +run "use_wrong_format_for_sub_id" { command = plan variables { - subscription_ids = ["12345678-1234-9876-4563-123456789012","12345678-1234-9876-4563-12345678901"] + subscription_ids = ["12345678-1234-9876-4563-123456789012", "12345678-1234-9876-4563-12345678901"] } expect_failures = [var.subscription_ids] } diff --git a/tests/local/mock_provider/data.tfmock.hcl b/tests/local/mock_provider/data.tfmock.hcl index b10c747..eea249f 100644 --- a/tests/local/mock_provider/data.tfmock.hcl +++ b/tests/local/mock_provider/data.tfmock.hcl @@ -16,9 +16,9 @@ mock_data "azurerm_management_group" { } } -mock_data "azurerm_subscription"{ +mock_data "azurerm_subscription" { defaults = { - id = "/subscriptions/12345678-1234-9876-4563-123456789012" - name = "Subscription 1" - } + id = "/subscriptions/12345678-1234-9876-4563-123456789012" + name = "Subscription 1" + } }