Archived
1
0
Fork 0

fix: key in sample and test manifests

This commit is contained in:
Dmitriy Pleshevskiy 2021-02-13 23:47:35 +03:00
parent 1d8993d1f0
commit 429b33f8d7
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@ pub const DATABASE_URL_DEFAULT_ENV_NAME: &str = "DATABASE_URL";
pub const DATABASE_URL_ENV_VALUE: &str = "postgres://postgres:postgres@localhost:6000/migra_tests";
pub struct Env {
key: &'static str
key: &'static str,
}
impl Env {

View file

@ -1,4 +1,4 @@
directory = "database"
root = "database"
[database]
connection = "$DB_URL"

View file

@ -1,4 +1,4 @@
directory = "database"
root = "database"
[database]
connection = "postgres://postgres:postgres@localhost:6000/migra_tests"

View file

@ -1,7 +1,7 @@
mod common;
use std::io::Write;
use common::*;
use std::io::Write;
#[test]
fn empty_migration_list() -> TestResult {

View file

@ -1,4 +1,4 @@
directory = "database"
root = "database"
[database]
connection = "postgres://postgres:123456@localhost:5434/migra"