Skip to content

Commit b52e7a4

Browse files
Fix test function names
1 parent 45deaee commit b52e7a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

helm/resource_helm_release_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ func TestAccResourceRelease_createNamespace(t *testing.T) {
823823
},
824824
})
825825
}
826-
func TestAccResourceRelease_invalidReleaseName(t *testing.T) {
826+
func TestAccResourceRelease_planValidationInvalidName(t *testing.T) {
827827
invalidNames := []string{
828828
"invalid_helm_release_name",
829829
"ThisHelmRelease",
@@ -837,7 +837,7 @@ func TestAccResourceRelease_invalidReleaseName(t *testing.T) {
837837
ProtoV6ProviderFactories: protoV6ProviderFactories(),
838838
Steps: []resource.TestStep{
839839
{
840-
Config: testAccHelmReleaseConfigInvalidName(testResourceName, namespace, name),
840+
Config: testAccHelmReleaseConfigInvalidNamePlan(testResourceName, namespace, name),
841841
PlanOnly: true,
842842
ExpectError: regexp.MustCompile(`Invalid Helm Release Name`),
843843
},
@@ -917,7 +917,7 @@ func testAccHelmReleaseConfigBasic(resource, ns, name, version string) string {
917917
`, resource, name, ns, testRepositoryURL, version)
918918
}
919919

920-
func testAccHelmReleaseConfigInvalidName(resource, ns, name string) string {
920+
func testAccHelmReleaseConfigInvalidNamePlan(resource, ns, name string) string {
921921
return fmt.Sprintf(`
922922
resource "helm_release" "%s" {
923923
name = %q

0 commit comments

Comments
 (0)