Disable log for integration tests
This commit is contained in:
parent
ee4c2038b8
commit
44eb2bbe42
2 changed files with 8 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue