@@ -63,28 +63,6 @@ func TestAccAutomationRuntimeEnvironmentPackage_complete(t *testing.T) {
6363 })
6464}
6565
66- func TestAccAutomationRuntimeEnvironmentPackage_update (t * testing.T ) {
67- data := acceptance .BuildTestData (t , "azurerm_automation_runtime_environment_package" , "test" )
68- r := AutomationRuntimeEnvironmentPackageResource {}
69-
70- data .ResourceTest (t , r , []acceptance.TestStep {
71- {
72- Config : r .basic (data ),
73- Check : acceptance .ComposeTestCheckFunc (
74- check .That (data .ResourceName ).ExistsInAzure (r ),
75- ),
76- },
77- data .ImportStep ("content_uri" ),
78- {
79- Config : r .update (data ),
80- Check : acceptance .ComposeTestCheckFunc (
81- check .That (data .ResourceName ).ExistsInAzure (r ),
82- ),
83- },
84- data .ImportStep ("content_uri" ),
85- })
86- }
87-
8866func (AutomationRuntimeEnvironmentPackageResource ) Exists (ctx context.Context , client * clients.Client , state * pluginsdk.InstanceState ) (* bool , error ) {
8967 id , err := packageresource .ParsePackageID (state .ID )
9068 if err != nil {
@@ -136,18 +114,6 @@ resource "azurerm_automation_runtime_environment_package" "test" {
136114` , r .template (data ))
137115}
138116
139- func (r AutomationRuntimeEnvironmentPackageResource ) update (data acceptance.TestData ) string {
140- return fmt .Sprintf (`
141- %s
142-
143- resource "azurerm_automation_runtime_environment_package" "test" {
144- name = "acctest-authentication"
145- runtime_environment_id = azurerm_automation_runtime_environment.test.id
146- content_uri = "https://www.powershellgallery.com/api/v2/package/Microsoft.Graph.Authentication/2.25.0"
147- }
148- ` , r .template (data ))
149- }
150-
151117func (r AutomationRuntimeEnvironmentPackageResource ) template (data acceptance.TestData ) string {
152118 return fmt .Sprintf (`
153119provider "azurerm" {
0 commit comments