juniper/juniper_rocket_async/tests/custom_response_tests.rs
2020-04-09 22:10:24 -10:00

7 lines
198 B
Rust

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