mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
fix: updated types for feature flag
This commit is contained in:
@@ -432,7 +432,15 @@ mod tests_mongodb {
|
||||
let db_expected_name = "mongodbtestnamesanitizerwithtoomanycharsnotallowedwhi";
|
||||
|
||||
let database = MongoDB::new(
|
||||
Context::new("".to_string(), "".to_string(), "".to_string(), false, None, None, None),
|
||||
Context::new(
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
false,
|
||||
None,
|
||||
vec![],
|
||||
None,
|
||||
),
|
||||
"pgid",
|
||||
Action::Create,
|
||||
db_input_name,
|
||||
|
||||
@@ -455,7 +455,15 @@ mod tests_mysql {
|
||||
let db_expected_name = "mysqltestnamesanitizerwithtoomanycharsnotallowedwhichwi";
|
||||
|
||||
let database = MySQL::new(
|
||||
Context::new("".to_string(), "".to_string(), "".to_string(), false, None, None, None),
|
||||
Context::new(
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
false,
|
||||
None,
|
||||
vec![],
|
||||
None,
|
||||
),
|
||||
"mysqlid",
|
||||
Action::Create,
|
||||
db_input_name,
|
||||
|
||||
@@ -447,7 +447,15 @@ mod tests_postgres {
|
||||
let db_expected_name = "postgresqltestnamesanitizerwithtoomanycharsnotallo";
|
||||
|
||||
let database = PostgreSQL::new(
|
||||
Context::new("".to_string(), "".to_string(), "".to_string(), false, None, None, None),
|
||||
Context::new(
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
false,
|
||||
None,
|
||||
vec![],
|
||||
None,
|
||||
),
|
||||
"pgid",
|
||||
Action::Create,
|
||||
db_input_name,
|
||||
|
||||
@@ -440,7 +440,15 @@ mod tests {
|
||||
let db_expected_name = "redistestnamesanitizerwithtoomanycharsnotallowe";
|
||||
|
||||
let database = Redis::new(
|
||||
Context::new("".to_string(), "".to_string(), "".to_string(), false, None, None, None),
|
||||
Context::new(
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
"".to_string(),
|
||||
false,
|
||||
None,
|
||||
vec![],
|
||||
None,
|
||||
),
|
||||
"pgid",
|
||||
Action::Create,
|
||||
db_input_name,
|
||||
|
||||
@@ -65,7 +65,7 @@ pub fn context() -> Context {
|
||||
lib_root_dir,
|
||||
true,
|
||||
None,
|
||||
Some(enabled_features),
|
||||
enabled_features,
|
||||
Option::from(metadata),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user