Skip to content

Commit

Permalink
azuread_application: basicFromTemplate test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Jun 10, 2024
1 parent 352400e commit 9ccbe48
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion internal/services/applications/application_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,21 @@ resource "azuread_application" "test" {
display_name = "acctest-APP-%[1]d"
owners = [data.azuread_client_config.test.object_id]
template_id = "%[2]s"
api {
oauth2_permission_scope {
admin_consent_description = "Allow the application to access acctest-APP-%[1]d on behalf of the signed-in user."
admin_consent_display_name = "Access acctest-APP-%[1]d"
enabled = true
id = "%[3]s"
type = "User"
user_consent_description = "Allow the application to access acctest-APP-%[1]d on your behalf."
user_consent_display_name = "Access acctest-APP-%[1]d"
value = "user_impersonation"
}
}
}
`, data.RandomInteger, testApplicationTemplateId)
`, data.RandomInteger, testApplicationTemplateId, data.UUID())
}

func (ApplicationResource) withGroupMembershipClaims(data acceptance.TestData) string {
Expand Down

0 comments on commit 9ccbe48

Please sign in to comment.