Skip to content

Commit

Permalink
Improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Sep 27, 2021
1 parent e602b41 commit 24d4c94
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 24d4c94

Please sign in to comment.