Skip to content

Commit

Permalink
fix acctests
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhang3 committed Sep 23, 2024
1 parent 84abcc8 commit 4279428
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestAccMachineLearningWorkspaceNetworkOutboundRuleFqdn_update(t *testing.T)
})
}

func TestAccMachineLearningWorkspaceOutboundFqdn_requiresImport(t *testing.T) {
func TestAccMachineLearningWorkspaceNetworkOutboundRuleFqdn_requiresImport(t *testing.T) {
data := acceptance.BuildTestData(t, "azurerm_machine_learning_workspace_network_outbound_rule_fqdn", "test")
r := WorkspaceNetworkOutboundRuleFqdnResource{}

Expand Down Expand Up @@ -181,7 +181,7 @@ resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "test"
workspace_id = azurerm_machine_learning_workspace.test.id
destination = "destination"
}
`, template, data.RandomInteger, data.RandomStringOfLength(6))
`, template, data.RandomInteger, data.RandomString)
}

func (r WorkspaceNetworkOutboundRuleFqdnResource) update(data acceptance.TestData) string {
Expand Down Expand Up @@ -223,7 +223,7 @@ resource "azurerm_machine_learning_workspace_network_outbound_rule_fqdn" "test"
workspace_id = azurerm_machine_learning_workspace.test.id
destination = "destinationupdate"
}
`, template, data.RandomInteger, data.RandomStringOfLength(6))
`, template, data.RandomInteger, data.RandomString)
}

func (r WorkspaceNetworkOutboundRuleFqdnResource) requiresImport(data acceptance.TestData) string {
Expand Down

0 comments on commit 4279428

Please sign in to comment.