test(techdemo): use handle field constant

Remove the last literal __h wire spelling from techdemo E2E tests, including the unknown-handle negative case.

req: dx/003

req: examples/003
This commit is contained in:
slhx agent
2026-06-02 02:17:04 +02:00
parent fa00128c9b
commit 4673580a71
+1 -1
View File
@@ -257,7 +257,7 @@ fn product_is_e2e_working_over_http() {
assert!(sse.text().contains("event: slhx"));
assert!(sse.text().contains("data: "));
let unknown = post("/", "__h=999999");
let unknown = post("/", &format!("{SLHX_HANDLE_FIELD}=999999"));
assert_eq!(unknown.status, 404);
assert!(unknown.text().contains("unknown slhx handle id 999999"));
}