Skip to content

Commit

Permalink
one tab was missing
Browse files Browse the repository at this point in the history
Signed-off-by: philthoennissen <[email protected]>
  • Loading branch information
Phil-Thoennissen committed Sep 17, 2024
1 parent 235f891 commit 7d81d66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/local/main.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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]
}
8 changes: 4 additions & 4 deletions tests/local/mock_provider/data.tfmock.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 7d81d66

Please sign in to comment.