Fix search::tests::search to use searcher directly instead of actor

This commit is contained in:
Kitaiti Makoto
2021-01-16 16:39:12 +09:00
parent 68d79bfa9c
commit 31418b1079
2 changed files with 7 additions and 23 deletions
-4
View File
@@ -316,10 +316,6 @@ mod tests {
db_conn::DbConn((*DB_POOL).get().unwrap())
}
pub(crate) fn pool() -> &'static db_conn::DbPool {
&*DB_POOL
}
lazy_static! {
static ref DB_POOL: db_conn::DbPool = {
let pool = db_conn::DbPool::builder()