Skip to content

Commit

Permalink
Fix checks in AccTests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed Nov 6, 2021
1 parent 540f41e commit 7d7078c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/services/sql/sql_managed_instance_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ func TestAccAzureRMSqlMiServer_identity(t *testing.T) {
Config: r.identity(data),
Check: resource.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("identity.#").HasValue("3"),
check.That(data.ResourceName).Key("identity.#").HasValue("1"),
check.That(data.ResourceName).Key("identity.0.#").HasValue("3"),
check.That(data.ResourceName).Key("identity.0.type").HasValue("SystemAssigned"),
),
},
data.ImportStep("administrator_login_password"),
Expand Down

0 comments on commit 7d7078c

Please sign in to comment.