mod test_context;
mod test_requests;
pub use test_context::{setup, teardown, DbTestContext};
pub use test_requests::RequestConfig;
pub use test_requests::{read_body, test_delete, test_get, test_post};

pub use actix_http::StatusCode as StatusCode;

macro_rules! assert_snapshot {
    ($x:expr) => {
        insta::with_settings!({snapshot_path => "../../../snapshots"}, {
            insta::assert_snapshot!($x);
        });
    };
}

pub(crate) use assert_snapshot;
