Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3fb07e

Browse files
backport(fix): optional everyone group in integration test (#281)
Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com>Co-authored-by: Ethan Dickson <ethan@coder.com>fix: optional everyone group in integration test (#278)
1 parentf3cbcd8 commite3fb07e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎integration/integration_test.go

Lines changed: 3 additions & 3 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp