Add some HTTP tests for recipe fields and recipe tags

This commit is contained in:
Greg Burri 2025-05-15 00:36:07 +02:00
parent 9c2d89e981
commit e4ec80e118
6 changed files with 179 additions and 11 deletions

View file

@ -13,7 +13,7 @@ pub async fn common_state_with_email_service(
) -> Result<app::AppState, Box<dyn Error>> {
let db_connection = db::Connection::new_in_memory().await?;
let config = config::Config::default();
let log = log::Log::new_no_log();
let log = log::Log::new_to_stdout_only_with_max_level(Some(tracing::Level::ERROR));
Ok(app::AppState {
config,
db_connection,