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:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user