fix(tests): resolve query parameter issue in tests

This commit is contained in:
perf3ct 2025-06-22 16:54:59 +00:00
parent 51e11903d3
commit 7762cf4a1e
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ impl LoadTestClient {
let response = self.client
.get(&format!("{}/api/search", get_base_url()))
.header("Authorization", format!("Bearer {}", token))
.query(&[("q", query)])
.query(&[("query", query)])
.send()
.await?;

View File

@ -736,7 +736,7 @@ async fn test_data_visibility_boundaries() {
let search_response = client.client
.get(&format!("{}/api/search", get_base_url()))
.header("Authorization", format!("Bearer {}", client.user1_token.as_ref().unwrap()))
.query(&[("q", "confidential")])
.query(&[("query", "confidential")])
.send()
.await;