We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188d294 commit 11d8e6aCopy full SHA for 11d8e6a
src/main.rs
@@ -66,20 +66,7 @@ mod tests {
66
assert!(db_init_result.is_ok());
67
}
68
69
- #[test]
70
- fn test_server_initialization_failure() {
71
-
72
- fn failing_create_database_client(_url: String) -> Result<(), &'static str> {
73
- Err("connection failed")
74
- }
75
76
- let env = mock_get_environment_variables();
77
- let client = failing_create_database_client("postgres://localhost/fail".to_string());
78
79
- let db_init_result = mock_set_init_database_table(client);
80
- assert!(db_init_result.is_err());
81
82
+
83
#[test]
84
fn test_listener_binding() {
85
let env = mock_get_environment_variables();
0 commit comments