From 24d4c94939ef39ff552a564825d807e961b5a576 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Mon, 27 Sep 2021 12:39:38 +0100 Subject: [PATCH] Improve test coverage --- .../serviceprincipals/service_principal_resource_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/services/serviceprincipals/service_principal_resource_test.go b/internal/services/serviceprincipals/service_principal_resource_test.go index 0efc2b87ce..b31e697a69 100644 --- a/internal/services/serviceprincipals/service_principal_resource_test.go +++ b/internal/services/serviceprincipals/service_principal_resource_test.go @@ -136,6 +136,13 @@ func TestAccServicePrincipal_featuresUpdate(t *testing.T) { r := ServicePrincipalResource{} data.ResourceTest(t, r, []resource.TestStep{ + { + Config: r.noFeatures(data), + Check: resource.ComposeTestCheckFunc( + check.That(data.ResourceName).ExistsInAzure(r), + ), + }, + data.ImportStep("use_existing"), { Config: r.basic(data), Check: resource.ComposeTestCheckFunc(