Skip to content

Commit 4192f85

Browse files
committed
Fix TestAccGitlabGroupVariable_scope test
1 parent 8dde2e7 commit 4192f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/resource_gitlab_group_variable_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func testAccCheckGitlabGroupVariableExists(n string, groupVariable *gitlab.Group
148148
}
149149
conn := testAccProvider.Meta().(*gitlab.Client)
150150

151-
gotVariable, _, err := conn.GroupVariables.GetVariable(repoName, key)
151+
gotVariable, _, err := conn.GroupVariables.GetVariable(repoName, key, modifyRequestAddEnvironmentFilter(rs.Primary.Attributes["environment_scope"]))
152152
if err != nil {
153153
return err
154154
}

0 commit comments

Comments
 (0)