From 7b0c11a0eff470f51c024774821523e1acdb44ea Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Fri, 6 Nov 2020 10:46:56 +0000 Subject: [PATCH] DONTMERGE testing --- internal/acceptance/testing.go | 6 +++--- internal/services/aadgraph/application_resource_test.go | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/internal/acceptance/testing.go b/internal/acceptance/testing.go index 37f76f5d59..b3422e7157 100644 --- a/internal/acceptance/testing.go +++ b/internal/acceptance/testing.go @@ -18,9 +18,9 @@ var SupportedProviders map[string]terraform.ResourceProvider func PreCheck(t *testing.T) { variables := []string{ - "ARM_CLIENT_ID", - "ARM_CLIENT_SECRET", - "ARM_TENANT_ID", + //"ARM_CLIENT_ID", + //"ARM_CLIENT_SECRET", + //"ARM_TENANT_ID", "ARM_TEST_LOCATION", "ARM_TEST_LOCATION_ALT", } diff --git a/internal/services/aadgraph/application_resource_test.go b/internal/services/aadgraph/application_resource_test.go index fbc19dc3bd..1f8e1783a0 100644 --- a/internal/services/aadgraph/application_resource_test.go +++ b/internal/services/aadgraph/application_resource_test.go @@ -37,7 +37,7 @@ func TestAccApplication_basic(t *testing.T) { resource.TestCheckResourceAttrSet(data.ResourceName, "object_id"), ), }, - data.ImportStep(), + //data.ImportStep(), }, }) } @@ -570,6 +570,10 @@ func testCheckApplicationDestroy(s *terraform.State) error { func testAccApplication_basic(ri int) string { return fmt.Sprintf(` +provider "azuread" { + tenant_id = "26e25406-6564-4a26-98ee-c71ba03235ad" +} + resource "azuread_application" "test" { name = "acctest-APP-%[1]d" }