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