mod common; pub use common::*; use rocket::http::Status; #[tokio::test] async fn get_landing_page() { let client = common::testing_client().await; let response = client.get("/").dispatch().await; assert_eq!(response.status(), Status::Ok); let body = response.into_string().await.unwrap(); assert!(body.contains("Nidobyte")); }