@@ -25,7 +25,7 @@ func TestAccGitlabProjectVariable_basic(t *testing.T) {
25
25
Check : resource .ComposeTestCheckFunc (
26
26
testAccCheckGitlabProjectVariableExists ("gitlab_project_variable.foo" , & projectVariable ),
27
27
testAccCheckGitlabProjectVariableAttributes (& projectVariable , & testAccGitlabProjectVariableExpectedAttributes {
28
- Key : fmt .Sprintf ("key- %s" , rString ),
28
+ Key : fmt .Sprintf ("key_ %s" , rString ),
29
29
Value : fmt .Sprintf ("value-%s" , rString ),
30
30
}),
31
31
),
@@ -36,7 +36,7 @@ func TestAccGitlabProjectVariable_basic(t *testing.T) {
36
36
Check : resource .ComposeTestCheckFunc (
37
37
testAccCheckGitlabProjectVariableExists ("gitlab_project_variable.foo" , & projectVariable ),
38
38
testAccCheckGitlabProjectVariableAttributes (& projectVariable , & testAccGitlabProjectVariableExpectedAttributes {
39
- Key : fmt .Sprintf ("key- %s" , rString ),
39
+ Key : fmt .Sprintf ("key_ %s" , rString ),
40
40
Value : fmt .Sprintf ("value-inverse-%s" , rString ),
41
41
Protected : true ,
42
42
}),
@@ -48,7 +48,7 @@ func TestAccGitlabProjectVariable_basic(t *testing.T) {
48
48
Check : resource .ComposeTestCheckFunc (
49
49
testAccCheckGitlabProjectVariableExists ("gitlab_project_variable.foo" , & projectVariable ),
50
50
testAccCheckGitlabProjectVariableAttributes (& projectVariable , & testAccGitlabProjectVariableExpectedAttributes {
51
- Key : fmt .Sprintf ("key- %s" , rString ),
51
+ Key : fmt .Sprintf ("key_ %s" , rString ),
52
52
Value : fmt .Sprintf ("value-%s" , rString ),
53
53
Protected : false ,
54
54
}),
@@ -143,7 +143,7 @@ resource "gitlab_project" "foo" {
143
143
144
144
resource "gitlab_project_variable" "foo" {
145
145
project = "${gitlab_project.foo.id}"
146
- key = "key- %s"
146
+ key = "key_ %s"
147
147
value = "value-%s"
148
148
}
149
149
` , rString , rString , rString )
@@ -162,8 +162,8 @@ resource "gitlab_project" "foo" {
162
162
163
163
resource "gitlab_project_variable" "foo" {
164
164
project = "${gitlab_project.foo.id}"
165
- key = "key- %s"
166
- value = "value-%s"
165
+ key = "key_ %s"
166
+ value = "value-inverse- %s"
167
167
protected = true
168
168
}
169
169
` , rString , rString , rString )
0 commit comments