juniper/juniper_rocket_async/tests/custom_response_tests.rs

8 lines
198 B
Rust
Raw Normal View History

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