Start using the new sea-orm backed database
This commit is contained in:
parent
19d14737bf
commit
d2385bd6a0
21 changed files with 1131 additions and 4902 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
db::{self, NewUserParams, SqliteTestDb as TestDb, UserId},
|
||||
db::{self, NewUserParams, TestDb, UserId},
|
||||
rpc::{Executor, Server},
|
||||
AppState,
|
||||
};
|
||||
|
@ -5665,7 +5665,7 @@ impl TestServer {
|
|||
async fn start(background: Arc<executor::Background>) -> Self {
|
||||
static NEXT_LIVE_KIT_SERVER_ID: AtomicUsize = AtomicUsize::new(0);
|
||||
|
||||
let test_db = TestDb::new(background.clone());
|
||||
let test_db = TestDb::sqlite(background.clone());
|
||||
let live_kit_server_id = NEXT_LIVE_KIT_SERVER_ID.fetch_add(1, SeqCst);
|
||||
let live_kit_server = live_kit_client::TestServer::create(
|
||||
format!("http://livekit.{}.test", live_kit_server_id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue