Skip to content

Commit ca2b6d7

Browse files
author
Jordan Caussat
committed
Update project resource: fix shared_with_groups test
1 parent a6bc73e commit ca2b6d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gitlab/resource_gitlab_project_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/hashicorp/terraform/helper/acctest"
88
"github.com/hashicorp/terraform/helper/resource"
99
"github.com/hashicorp/terraform/terraform"
10-
"github.com/xanzy/go-gitlab"
10+
gitlab "github.com/xanzy/go-gitlab"
1111
)
1212

1313
func TestAccGitlabProject_basic(t *testing.T) {
@@ -110,9 +110,9 @@ func TestAccGitlabProject_basic(t *testing.T) {
110110
}),
111111
),
112112
},
113-
//Update the project to unshare the project from 1 group
113+
//Update the project to unshare the project
114114
{
115-
Config: testAccGitlabProjectSharedWithGroup(rInt),
115+
Config: testAccGitlabProjectConfig(rInt),
116116
Check: resource.ComposeTestCheckFunc(
117117
testAccCheckGitlabProjectExists("gitlab_project.foo", &project),
118118
testAccCheckGitlabProjectAttributes(&project, &testAccGitlabProjectExpectedAttributes{
@@ -128,7 +128,7 @@ func TestAccGitlabProject_basic(t *testing.T) {
128128
GroupID int
129129
GroupName string
130130
GroupAccessLevel int
131-
}{{0, "", 30}},
131+
}{},
132132
}),
133133
),
134134
},

0 commit comments

Comments
 (0)