Added shit.

This commit is contained in:
didier amyot committed 2023-02-11 08:13:26 -05:00
1 parent 86598c0fb7
commit af687df9de
10 files changed
+74 -20

No files matched your search

+9 -9
View File
@@ -445,15 +445,15 @@ mod cli_test {
assert_eq!(logic.process_events_count, 1);
}
// #[test]
// fn run_web_ui() {
// let cmd = command_line_parser();
// let m = cmd.get_matches_from(vec!["test", "webui", "run"]);
// let mut logic = TestCommandLineLogic::new();
// let mut conn = Connection::open_in_memory().unwrap();
// process_command_line(&mut conn, &m, &mut logic);
// assert_eq!(logic.run_webui_count, 1);
// }
#[test]
fn run_web_ui() {
let cmd = command_line_parser();
let m = cmd.get_matches_from(vec!["test", "wui", "run"]);
let mut logic = TestCommandLineLogic::new();
let mut conn = Connection::open_in_memory().unwrap();
process_command_line(&mut conn, &m, &mut logic);
assert_eq!(logic.run_webui_count, 1);
}
}
struct ProCommandLineLogic {}