Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Feb 21, 2023
1 parent 2170d72 commit 18860da
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -644,13 +644,17 @@ func (ServicePrincipalResource) fromApplicationTemplate(data acceptance.TestData
return fmt.Sprintf(`
provider "azuread" {}
data "azuread_client_config" "test" {}
resource "azuread_application" "test" {
display_name = "acctest-APP-%[1]d"
template_id = "%[2]s"
owners = [data.azuread_client_config.test.object_id]
}
resource "azuread_service_principal" "test" {
application_id = azuread_application.test.application_id
owners = [data.azuread_client_config.test.object_id]
use_existing = true
}
`, data.RandomInteger, testApplicationTemplateId)
Expand Down

0 comments on commit 18860da

Please sign in to comment.