juniper/juniper_rocket/tests/custom_response_tests.rs
2018-08-31 18:46:27 -07:00

11 lines
244 B
Rust

extern crate juniper_rocket;
extern crate rocket;
use rocket::http::Status;
use juniper_rocket::GraphQLResponse;
#[test]
fn test_graphql_response_is_public() {
let _ = GraphQLResponse(Status::Unauthorized, "Unauthorized".to_string());
}