@@ -24,7 +24,7 @@ func TestAccOctopusDeployProjectGroupBasic(t *testing.T) {
24
24
Steps : []resource.TestStep {
25
25
{
26
26
Check : resource .ComposeTestCheckFunc (
27
- testProjectGroupExists (prefix ),
27
+ testOctopusDeployProjectGroupExists (prefix ),
28
28
resource .TestCheckResourceAttrSet (prefix , "id" ),
29
29
resource .TestCheckResourceAttr (prefix , "name" , name ),
30
30
resource .TestCheckResourceAttr (prefix , "description" , description ),
@@ -53,15 +53,15 @@ func TestAccOctopusDeployProjectGroupUpdate(t *testing.T) {
53
53
Steps : []resource.TestStep {
54
54
{
55
55
Check : resource .ComposeTestCheckFunc (
56
- testProjectGroupExists (prefix ),
56
+ testOctopusDeployProjectGroupExists (prefix ),
57
57
resource .TestCheckResourceAttr (prefix , "name" , name ),
58
58
resource .TestCheckResourceAttr (prefix , "description" , description ),
59
59
),
60
60
Config : testProjectGroupBasic (localName , name , description ),
61
61
},
62
62
{
63
63
Check : resource .ComposeTestCheckFunc (
64
- testProjectGroupExists (prefix ),
64
+ testOctopusDeployProjectGroupExists (prefix ),
65
65
resource .TestCheckResourceAttr (prefix , "name" , newName ),
66
66
resource .TestCheckResourceAttr (prefix , "description" , newDescription ),
67
67
),
@@ -84,7 +84,7 @@ func TestAccOctopusDeployProjectGroupMinimal(t *testing.T) {
84
84
Steps : []resource.TestStep {
85
85
{
86
86
Check : resource .ComposeTestCheckFunc (
87
- testProjectGroupExists (prefix ),
87
+ testOctopusDeployProjectGroupExists (prefix ),
88
88
resource .TestCheckResourceAttrSet (prefix , "id" ),
89
89
resource .TestCheckResourceAttr (prefix , "name" , name ),
90
90
resource .TestCheckResourceAttr (prefix , "description" , "" ),
@@ -136,7 +136,7 @@ func testProjectGroupMinimal(localName string, name string) string {
136
136
}` , localName , name )
137
137
}
138
138
139
- func testProjectGroupExists (resourceName string ) resource.TestCheckFunc {
139
+ func testOctopusDeployProjectGroupExists (resourceName string ) resource.TestCheckFunc {
140
140
return func (s * terraform.State ) error {
141
141
rs , ok := s .RootModule ().Resources [resourceName ]
142
142
if ! ok {
0 commit comments