From 675f34bc46793eba48f0d1b8ea32bc0e3ad84c9c Mon Sep 17 00:00:00 2001 From: jekshmek Date: Tue, 25 Jun 2019 09:08:36 +0300 Subject: [PATCH] Fix test_invalid_field juniper::http (#380) --- juniper/src/http/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper/src/http/mod.rs b/juniper/src/http/mod.rs index 1ad139d5..11543bd3 100644 --- a/juniper/src/http/mod.rs +++ b/juniper/src/http/mod.rs @@ -329,7 +329,7 @@ pub mod tests { fn test_invalid_field(integration: &T) { // {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); let response = integration.post("/", r#"{"query": "{hero{blah}}"}"#); assert_eq!(response.status_code, 400);