Disable log for integration tests

This commit is contained in:
Greg Burri 2025-04-30 12:07:36 +02:00
parent ee4c2038b8
commit 44eb2bbe42
2 changed files with 8 additions and 3 deletions

View file

@ -5,7 +5,7 @@ use recipes::{app, config, data::db, log};
pub async fn common_state() -> 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_stdout_only();
let log = log::Log::new_no_log();
Ok(app::AppState {
config,
db_connection,