Skip to content

Commit e3fb07e

Browse files
backport(fix): optional everyone group in integration test (#281)
Co-authored-by: Ethan <[email protected]> Co-authored-by: Ethan Dickson <[email protected]> fix: optional everyone group in integration test (#278)
1 parent f3cbcd8 commit e3fb07e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: integration/integration_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func TestIntegration(t *testing.T) {
8080
"workspace.name": `test-data-source`,
8181
"workspace.owner": `testing`,
8282
"workspace.owner_email": `testing@coder\.com`,
83-
"workspace.owner_groups": `\[\]`,
83+
"workspace.owner_groups": `\[(\"Everyone\")?\]`,
8484
"workspace.owner_id": `[a-zA-Z0-9]+`,
8585
"workspace.owner_name": `default`,
8686
"workspace.owner_oidc_access_token": `^$`, // TODO: need a test OIDC integration
@@ -105,7 +105,7 @@ func TestIntegration(t *testing.T) {
105105
"workspace.name": ``,
106106
"workspace.owner": `testing`,
107107
"workspace.owner_email": `testing@coder\.com`,
108-
"workspace.owner_groups": `\[\]`,
108+
"workspace.owner_groups": `\[(\"Everyone\")?\]`,
109109
"workspace.owner_id": `[a-zA-Z0-9]+`,
110110
"workspace.owner_name": `default`,
111111
"workspace.owner_oidc_access_token": `^$`, // TODO: need a test OIDC integration
@@ -117,7 +117,7 @@ func TestIntegration(t *testing.T) {
117117
"workspace.transition": `start`,
118118
"workspace_owner.email": `testing@coder\.com`,
119119
"workspace_owner.full_name": `default`,
120-
"workspace_owner.groups": `\[\]`,
120+
"workspace_owner.groups": `\[(\"Everyone\")?\]`,
121121
"workspace_owner.id": `[a-zA-Z0-9-]+`,
122122
"workspace_owner.name": `testing`,
123123
"workspace_owner.oidc_access_token": `^$`, // TODO: test OIDC integration

0 commit comments

Comments
 (0)