Skip to content

Commit 81a9325

Browse files
Remove default user for x-materialize-user header.
1 parent 016fc16 commit 81a9325

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/environmentd/tests/server.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,19 +2497,6 @@ fn test_internal_http_auth() {
24972497
))
24982498
.unwrap();
24992499

2500-
let res = Client::new().post(url.clone()).json(&json).send().unwrap();
2501-
2502-
tracing::info!("response: {res:?}");
2503-
2504-
assert_eq!(
2505-
res.status(),
2506-
StatusCode::OK,
2507-
"{:?}",
2508-
res.json::<serde_json::Value>()
2509-
);
2510-
// defaults to mz_system
2511-
assert!(res.text().unwrap().to_string().contains("mz_system"));
2512-
25132500
let res = Client::new()
25142501
.post(url.clone())
25152502
.header("x-materialize-user", "mz_system")

0 commit comments

Comments
 (0)