refactor(config): consumer들이 &Config 대신 타입 슬라이스 수령 (god-struct 결합 해소)
This commit is contained in:
@@ -8,7 +8,7 @@ mod common;
|
||||
#[test]
|
||||
fn fresh_db_has_all_p1_tables_and_indexes() {
|
||||
let env = common::TestEnv::new();
|
||||
let store = SqliteStore::open(&env.config()).expect("open");
|
||||
let store = SqliteStore::open(&env.config().storage).expect("open");
|
||||
store.run_migrations().expect("run migrations");
|
||||
|
||||
// Pull the list of user tables from sqlite_master.
|
||||
|
||||
Reference in New Issue
Block a user