juniper/juniper_rocket/tests/custom_response_tests.rs

9 lines
193 B
Rust
Raw Normal View History

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