Add some HTTP tests for recipe fields and recipe tags
This commit is contained in:
parent
9c2d89e981
commit
e4ec80e118
6 changed files with 179 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue