Fix test_invalid_field juniper::http (#380)
This commit is contained in:
parent
49f723a3dd
commit
675f34bc46
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ pub mod tests {
|
||||||
|
|
||||||
fn test_invalid_field<T: HTTPIntegration>(integration: &T) {
|
fn test_invalid_field<T: HTTPIntegration>(integration: &T) {
|
||||||
// {hero{blah}}
|
// {hero{blah}}
|
||||||
let response = integration.get("/?query=%7Bhero%blah%7D%7D");
|
let response = integration.get("/?query=%7Bhero%7Bblah%7D%7D");
|
||||||
assert_eq!(response.status_code, 400);
|
assert_eq!(response.status_code, 400);
|
||||||
let response = integration.post("/", r#"{"query": "{hero{blah}}"}"#);
|
let response = integration.post("/", r#"{"query": "{hero{blah}}"}"#);
|
||||||
assert_eq!(response.status_code, 400);
|
assert_eq!(response.status_code, 400);
|
||||||
|
|
Loading…
Reference in a new issue