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).
This commit is contained in:
Frank
2026-09-24 20:39:28 -07:00
parent df00182d0e
commit e452aa42c8
+1 -1
View File
@@ -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" {