Skip to content

Commit 243ee55

Browse files
committed
Fix tests
1 parent 5c7b108 commit 243ee55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ fn test_cancel_query() {
664664
#[test]
665665
#[cfg(feature = "with-openssl")]
666666
fn test_require_ssl_conn() {
667-
use postgres::io::openssl::OpenSsl;
667+
use postgres::tls::openssl::OpenSsl;
668668

669669
let mut negotiator = OpenSsl::new().unwrap();
670670
negotiator.context_mut().set_CA_file(".travis/server.crt").unwrap();
@@ -676,7 +676,7 @@ fn test_require_ssl_conn() {
676676
#[test]
677677
#[cfg(feature = "with-openssl")]
678678
fn test_prefer_ssl_conn() {
679-
use postgres::io::openssl::OpenSsl;
679+
use postgres::tls::openssl::OpenSsl;
680680

681681
let mut negotiator = OpenSsl::new().unwrap();
682682
negotiator.context_mut().set_CA_file(".travis/server.crt").unwrap();
@@ -688,7 +688,7 @@ fn test_prefer_ssl_conn() {
688688
#[test]
689689
#[cfg(feature = "with-security-framework")]
690690
fn security_framework_ssl() {
691-
use postgres::io::security_framework::SecurityFramework;
691+
use postgres::tls::security_framework::SecurityFramework;
692692
use security_framework::certificate::SecCertificate;
693693

694694
let certificate = include_bytes!("../.travis/server.der");

0 commit comments

Comments
 (0)