Skip to content

Commit

Permalink
bugfix: azuread_application - remove computed attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
cfi-azr-serviceuser committed Oct 1, 2024
1 parent af23230 commit 8709641
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestAccApplicationPassword_with_ApplicationInlinePassword(t *testing.T) {
Config: r.passwordsCombined(data, true),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("application_object_id").Exists(),
check.That(data.ResourceName).Key("application_id").Exists(),
check.That(data.ResourceName).Key("end_date").Exists(),
check.That(data.ResourceName).Key("key_id").Exists(),
check.That(data.ResourceName).Key("start_date").Exists(),
Expand Down Expand Up @@ -202,7 +202,7 @@ resource "azuread_application_password" "test" {

func (r ApplicationPasswordResource) passwordsCombined(data acceptance.TestData, renderPassword bool) string {
return fmt.Sprintf(`
provider "azuread" {}
#provider "azuread" {}
data "azuread_client_config" "current" {}
Expand All @@ -214,7 +214,7 @@ resource "azuread_application" "test" {
}
resource "azuread_application_password" "test" {
application_object_id = azuread_application.test.id
application_id = azuread_application.test.id
display_name = "acctest-application-password-%[2]s"
}
Expand Down

0 comments on commit 8709641

Please sign in to comment.