Fixed compile time error on some tests
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
ea7716b939
commit
3a76059722
|
@ -14,6 +14,7 @@ use test_utilities::{
|
|||
#[serial]
|
||||
fn shoud_save_only_one_current(context: &FunctionalTestContext) {
|
||||
let parser = ArgumentParser {};
|
||||
let console = Console {};
|
||||
let arguments = vec![
|
||||
String::from("release_checker"),
|
||||
String::from("register"),
|
||||
|
@ -30,7 +31,7 @@ fn shoud_save_only_one_current(context: &FunctionalTestContext) {
|
|||
&context.settings.database.get_connection(),
|
||||
);
|
||||
|
||||
let application = Application::new(&context.settings, parser, arguments);
|
||||
let application = Application::new(&context.settings, &console, parser, arguments);
|
||||
application.run();
|
||||
application.run();
|
||||
|
||||
|
@ -76,6 +77,7 @@ fn shoud_update_on_second_insert(context: &FunctionalTestContext) {
|
|||
|
||||
let parser = ArgumentParser {};
|
||||
let settings = Settings::new().unwrap();
|
||||
let console = Console {};
|
||||
let arguments = vec![
|
||||
String::from("release_checker"),
|
||||
String::from("register"),
|
||||
|
@ -84,7 +86,7 @@ fn shoud_update_on_second_insert(context: &FunctionalTestContext) {
|
|||
String::from("name"),
|
||||
String::from("2"),
|
||||
];
|
||||
let application = Application::new(&settings, parser, arguments);
|
||||
let application = Application::new(&settings, &console, parser, arguments);
|
||||
application.run();
|
||||
|
||||
let total_count_of_currents = get_origins_count(&settings.database.get_connection());
|
||||
|
|
Loading…
Reference in New Issue