fix(tests): resolve query parameter issue in tests
This commit is contained in:
parent
51e11903d3
commit
7762cf4a1e
|
|
@ -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?;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue