From 27f49c5e06d120f951921ee08d46f064c1fb901d Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Fri, 6 Sep 2024 01:25:18 +1000 Subject: [PATCH 1/2] fix: optional everyone group in integration test (#278) --- integration/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/integration_test.go b/integration/integration_test.go index 75b35d20..b9ae9388 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -117,7 +117,7 @@ func TestIntegration(t *testing.T) { "workspace.transition": `start`, "workspace_owner.email": `testing@coder\.com`, "workspace_owner.full_name": `default`, - "workspace_owner.groups": `\[\]`, + "workspace_owner.groups": `\[(\"Everyone\")?\]`, "workspace_owner.id": `[a-zA-Z0-9-]+`, "workspace_owner.name": `testing`, "workspace_owner.oidc_access_token": `^$`, // TODO: test OIDC integration From e7e17f4021a326ac85386ce704e9c87d9c594d65 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Fri, 6 Sep 2024 05:36:28 +0000 Subject: [PATCH 2/2] fixup --- integration/integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/integration_test.go b/integration/integration_test.go index b9ae9388..322d5816 100644 --- a/integration/integration_test.go +++ b/integration/integration_test.go @@ -80,7 +80,7 @@ func TestIntegration(t *testing.T) { "workspace.name": `test-data-source`, "workspace.owner": `testing`, "workspace.owner_email": `testing@coder\.com`, - "workspace.owner_groups": `\[\]`, + "workspace.owner_groups": `\[(\"Everyone\")?\]`, "workspace.owner_id": `[a-zA-Z0-9]+`, "workspace.owner_name": `default`, "workspace.owner_oidc_access_token": `^$`, // TODO: need a test OIDC integration @@ -105,7 +105,7 @@ func TestIntegration(t *testing.T) { "workspace.name": ``, "workspace.owner": `testing`, "workspace.owner_email": `testing@coder\.com`, - "workspace.owner_groups": `\[\]`, + "workspace.owner_groups": `\[(\"Everyone\")?\]`, "workspace.owner_id": `[a-zA-Z0-9]+`, "workspace.owner_name": `default`, "workspace.owner_oidc_access_token": `^$`, // TODO: need a test OIDC integration pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy