juniper/juniper_rocket/tests/custom_response_tests.rs
Christian Legnitto 93deb2862a
Make juniper_rocket_async replace juniper_rocket (#955)
* Make juniper_rocket_async replace juniper_rocket

Now that rocket v0.5 is async and in rc, merge the two juniper projects.

Fixes https://github.com/graphql-rust/juniper/issues/947.

* Remove println
2021-07-07 09:26:22 -07:00

7 lines
192 B
Rust

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