Fix search::tests::search to use searcher directly instead of actor
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user