fix(ui): Ablehnung eines Startparameters nennt den Parameter (#1070)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3Td16J38kAyDLzb39
This commit is contained in:
2026-11-17 20:31:19 +01:00
parent 43338a7a99
commit aa3bfa4f19
2 changed files with 36 additions and 6 deletions

View File

@ -3572,6 +3572,13 @@ async fn startprofile_nur_admin_audit_typpruefung_und_standard_ohne_neustart() {
.await;
assert_eq!(status, 400, "{input}: {body}");
assert!(!body.contains("nx-secret"));
if input == "p.context=511" {
// Die Meldung nennt den Parameter, statt nur „ungültig“ zu sagen.
assert!(
body.contains("Ungültiger Wert für") && body.contains("Kontextgröße"),
"{body}"
);
}
assert_eq!(
gw.state
.store()