juniper/juniper_rocket_async/tests/custom_response_tests.rs
Christoph Herzog 50605ee73e Duplicate juniper_rocket for async
This is required because rocket only supports futures on a git branch.
2019-11-15 21:52:22 +01: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());
}