fix(core): update SSL mode URL assertions

This commit is contained in:
vrustx authored and GitHub committed 2026-07-18 16:36:54 +08:00
1 parent fdb24620ef
commit 6ce477afe9
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -2097,7 +2097,7 @@ mod tests {
config.db_type = DatabaseType::Postgres;
assert_eq!(config.effective_database(), Some(" analytics "));
assert_eq!(config.connection_url(), "postgres://root:secret@10.1.2.3:2883/%20analytics%20");
assert_eq!(config.connection_url(), "postgres://root:secret@10.1.2.3:2883/%20analytics%20?sslmode=disable");
}
#[test]
@@ -2789,7 +2789,7 @@ mod tests {
config.db_type = DatabaseType::Postgres;
config.driver_profile = Some("cockroachdb".to_string());
assert_eq!(config.connection_url(), "postgres://root:secret@10.1.2.3:2883/defaultdb");
assert_eq!(config.connection_url(), "postgres://root:secret@10.1.2.3:2883/defaultdb?sslmode=disable");
}
#[test]