From e452aa42c827fe611f3ae9d99efdab64173be9df Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 24 Sep 2026 20:39:28 -0700 Subject: [PATCH] test(open-webui): match the OAUTH_SCOPES quoting fix systemd splits unquoted Environment= values on whitespace, so the quadlet quotes OAUTH_SCOPES to keep all four scopes; update the bats assertion to expect the quoted form (it was checking the old unquoted line and failing). --- tests/open_webui_quadlet.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/open_webui_quadlet.bats b/tests/open_webui_quadlet.bats index f992811..d77b867 100644 --- a/tests/open_webui_quadlet.bats +++ b/tests/open_webui_quadlet.bats @@ -112,7 +112,7 @@ QDIR="$REPO_ROOT/dankclaw/open-webui/quadlet" grep -qE '^Environment=ENABLE_OAUTH_SIGNUP=true' "$QDIR/open-webui.container" grep -qE '^Environment=OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true' "$QDIR/open-webui.container" grep -qE '^Environment=ENABLE_OAUTH_ROLE_MANAGEMENT=true' "$QDIR/open-webui.container" - grep -qE '^Environment=OAUTH_SCOPES=openid email profile roles$' "$QDIR/open-webui.container" + grep -qE '^Environment="OAUTH_SCOPES=openid email profile roles"$' "$QDIR/open-webui.container" } @test "open-webui OIDC: client secret lives in the host env file, not the unit" {