Skip to content

Commit

Permalink
r/digital_twins_instance: removing the explicit check for a UAI, sinc…
Browse files Browse the repository at this point in the history
…e it's not needed
  • Loading branch information
tombuildsstuff committed Aug 2, 2023
1 parent 97fc499 commit b6b59d3
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,26 +144,20 @@ func TestAccDigitalTwinsInstance_identityUserAssigned(t *testing.T) {
Config: r.basicWithIdentityUserAssigned(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("identity.0.principal_id").IsEmpty(),
check.That(data.ResourceName).Key("identity.0.tenant_id").IsEmpty(),
),
},
data.ImportStep(),
{
Config: r.basic(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("identity.0.principal_id").DoesNotExist(),
check.That(data.ResourceName).Key("identity.0.tenant_id").DoesNotExist(),
),
},
data.ImportStep(),
{
Config: r.basicWithIdentityUserAssigned(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("identity.0.principal_id").IsEmpty(),
check.That(data.ResourceName).Key("identity.0.tenant_id").IsEmpty(),
),
},
data.ImportStep(),
Expand Down

0 comments on commit b6b59d3

Please sign in to comment.