This commit is contained in:
parent
456d0789fb
commit
13d6fa25bc
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@ use super::migrate::apply_migrations;
|
||||||
use tokio_postgres::config::Config;
|
use tokio_postgres::config::Config;
|
||||||
use tokio_postgres::Client;
|
use tokio_postgres::Client;
|
||||||
|
|
||||||
const DEFAULT_CONNECTION_URL: &str =
|
const DEFAULT_CONNECTION_URL: &str = "postgres://fedimovies:fedimovies@127.0.0.1:55432/fedimovies";
|
||||||
"postgres://fedimovies:fedimovies@127.0.0.1:55432/fedimovies";
|
|
||||||
|
|
||||||
pub async fn create_test_database() -> Client {
|
pub async fn create_test_database() -> Client {
|
||||||
let connection_url =
|
let connection_url =
|
||||||
|
|
Loading…
Reference in a new issue