Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-taylor committed Dec 6, 2023
1 parent d086838 commit 451fb6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/subscription/subscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func TestSubscriptionAliasCreateValidAzApi(t *testing.T) {
"azapi_resource.subscription[0]",
"azapi_resource_action.subscription_rename[0]",
"azapi_update_resource.subscription_tags[0]",
"time_sleep.wait_for_subscription_before_subscription_operations[0]"

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, latest, latest)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, latest, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, 3.7.0, latest)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Docs & fmt test

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, 3.7.0, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, latest, latest)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, latest, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, 3.7.0, latest)

missing ',' before newline in composite literal

Check failure on line 51 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, 3.7.0, 1.3.0)

missing ',' before newline in composite literal
}

check.InPlan(test.PlanStruct).NumberOfResourcesEquals(len(resources)).ErrorIsNil(t)
Expand Down Expand Up @@ -105,7 +106,8 @@ func TestSubscriptionAliasCreateValidWithManagementGroupAzApi(t *testing.T) {
"azapi_resource.subscription[0]",
"azapi_resource_action.subscription_rename[0]",
"azapi_update_resource.subscription_tags[0]",
"azurerm_management_group_subscription_association.this[0]",
"azapi_resource_action.subscription_association[0]",
"time_sleep.wait_for_subscription_before_subscription_operations[0]"

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, latest, latest)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, latest, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, 3.7.0, latest)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Docs & fmt test

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (latest, 3.7.0, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, latest, latest)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, latest, 1.3.0)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, 3.7.0, latest)

missing ',' before newline in composite literal

Check failure on line 110 in tests/subscription/subscription_test.go

View workflow job for this annotation

GitHub Actions / Unit test (1.4.0, 3.7.0, 1.3.0)

missing ',' before newline in composite literal
}

check.InPlan(test.PlanStruct).NumberOfResourcesEquals(len(resources)).ErrorIsNil(t)
Expand Down

0 comments on commit 451fb6a

Please sign in to comment.