Skip to content

Commit d053338

Browse files
author
Thibault Drevon
committed
Reset the tests in a state I am confident in.
1 parent e3f028b commit d053338

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gitlab/resource_gitlab_project_variable_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ func TestAccGitlabProjectVariable_basic(t *testing.T) {
2424
Config: testAccGitlabProjectVariableConfig(rString),
2525
Check: resource.ComposeTestCheckFunc(
2626
testAccCheckGitlabProjectVariableExists("gitlab_project_variable.foo", &projectVariable),
27-
resource.TestCheckResourceAttr("gitlab_project_variable.foo", "Key", fmt.Sprintf("key-%s", rString)),
28-
resource.TestCheckResourceAttr("gitlab_project_variable.foo", "Value", fmt.Sprintf("value-%s", rString)),
27+
testAccCheckGitlabProjectVariableAttributes(&projectVariable, &testAccGitlabProjectVariableExpectedAttributes{
28+
Key: fmt.Sprintf("key-%s", rString),
29+
Value: fmt.Sprintf("value-%s", rString),
30+
}),
2931
),
3032
},
3133
// Update the project variable to toggle all the values to their inverse

0 commit comments

Comments
 (0)