Skip to content

Commit

Permalink
fix TestAccResourceProviderRegistration_requiresImport (hashicorp#25785)
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa authored May 3, 2024
1 parent 763868f commit 4cc65f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ func TestAccResourceProviderRegistration_requiresImport(t *testing.T) {
r := ResourceProviderRegistrationResource{}
data.ResourceTest(t, r, []acceptance.TestStep{
{
Config: r.basic("Microsoft.ApiCenter"),
Config: r.basic("Microsoft.AgFoodPlatform"),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
),
},
data.RequiresImportErrorStep(func(data acceptance.TestData) string {
return r.requiresImport("Microsoft.ApiCenter")
return r.requiresImport("Microsoft.AgFoodPlatform")
}),
})
}
Expand Down

0 comments on commit 4cc65f4

Please sign in to comment.