Fix build
This commit is contained in:
parent
46f4a2911c
commit
20874e683f
@ -44,7 +44,7 @@ fn require() {
|
|||||||
smoke_test(
|
smoke_test(
|
||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("ssl_user")
|
.user("ssl_user")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
RequireTls(TlsConnector::with_connector(connector, "localhost")),
|
RequireTls(TlsConnector::with_connector(connector, "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ fn prefer() {
|
|||||||
smoke_test(
|
smoke_test(
|
||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("ssl_user")
|
.user("ssl_user")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
PreferTls(TlsConnector::with_connector(connector, "localhost")),
|
PreferTls(TlsConnector::with_connector(connector, "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ fn scram_user() {
|
|||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("scram_user")
|
.user("scram_user")
|
||||||
.password("password")
|
.password("password")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
RequireTls(TlsConnector::with_connector(connector, "localhost")),
|
RequireTls(TlsConnector::with_connector(connector, "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ fn require() {
|
|||||||
smoke_test(
|
smoke_test(
|
||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("ssl_user")
|
.user("ssl_user")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
RequireTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
RequireTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ fn prefer() {
|
|||||||
smoke_test(
|
smoke_test(
|
||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("ssl_user")
|
.user("ssl_user")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
PreferTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
PreferTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -68,7 +68,7 @@ fn scram_user() {
|
|||||||
tokio_postgres::Builder::new()
|
tokio_postgres::Builder::new()
|
||||||
.user("scram_user")
|
.user("scram_user")
|
||||||
.password("password")
|
.password("password")
|
||||||
.database("postgres"),
|
.dbname("postgres"),
|
||||||
RequireTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
RequireTls(TlsConnector::new(ctx.configure().unwrap(), "localhost")),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user