Skip to content

Commit 3fdbc21

Browse files
committed
simplify test fixtures
1 parent 9694e22 commit 3fdbc21

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

kubernetes/resource_kubernetes_secret_v1_test.go

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,10 @@ func testAccKubernetesSecretV1Config_data_wo(prefix string) string {
634634
metadata {
635635
generate_name = "%s"
636636
annotations = {
637-
TestAnnotationOne = "one"
638-
Different = "1234"
637+
test = "writeonly"
639638
}
640639
labels = {
641-
TestLabelOne = "one"
642-
TestLabelThree = "three"
640+
test = "writeonly"
643641
}
644642
}
645643
@@ -656,12 +654,10 @@ func testAccKubernetesSecretV1Config_data_wo2(prefix string) string {
656654
metadata {
657655
generate_name = "%s"
658656
annotations = {
659-
TestAnnotationOne = "one"
660-
Different = "1234"
657+
test = "writeonly"
661658
}
662659
labels = {
663-
TestLabelOne = "one"
664-
TestLabelThree = "three"
660+
test = "writeonly"
665661
}
666662
}
667663
@@ -679,12 +675,10 @@ func testAccKubernetesSecretV1Config_binaryData_wo(prefix string, bd string) str
679675
metadata {
680676
generate_name = "%s"
681677
annotations = {
682-
TestAnnotationOne = "one"
683-
Different = "1234"
678+
test = "writeonly"
684679
}
685680
labels = {
686-
TestLabelOne = "one"
687-
TestLabelThree = "three"
681+
test = "writeonly"
688682
}
689683
}
690684
@@ -701,12 +695,10 @@ func testAccKubernetesSecretV1Config_binaryData_wo2(prefix string, bd string) st
701695
metadata {
702696
generate_name = "%s"
703697
annotations = {
704-
TestAnnotationOne = "one"
705-
Different = "1234"
698+
test = "writeonly"
706699
}
707700
labels = {
708-
TestLabelOne = "one"
709-
TestLabelThree = "three"
701+
test = "writeonly"
710702
}
711703
}
712704

0 commit comments

Comments
 (0)