mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-05 02:50:47 +00:00
fix: remove cfg(test)
This commit is contained in:
parent
9fbeb61280
commit
efa4fbe40d
1 changed files with 0 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ pub async fn get_recipients(db: &DbConn, candidate_pubkey: &str) -> Result<Vec<S
|
||||||
Ok(recipients)
|
Ok(recipients)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
pub async fn get_memory_sqlite_connection() -> sea_orm::DbConn {
|
pub async fn get_memory_sqlite_connection() -> sea_orm::DbConn {
|
||||||
use entity::{admin, candidate, parent, session};
|
use entity::{admin, candidate, parent, session};
|
||||||
use sea_orm::{Schema, Database};
|
use sea_orm::{Schema, Database};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue