We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CREATE TABLE
1 parent 7bc9152 commit 51e5033Copy full SHA for 51e5033
src/postgres.rs
@@ -203,5 +203,12 @@ mod tests {
203
con.create_instance("myrole", "mypw", "mydb")
204
.await
205
.expect("failed to create instance");
206
+
207
+ // Now that the instance is created, check every is in working order.
208
+ let user_con = pg.as_user("myrole", "mypw");
209
+ user_con
210
+ .run_sql("mydb", "CREATE TABLE foo (bar INT PRIMARY KEY);")
211
+ // .run_sql("mydb", "SELECT current_database();")
212
+ .expect("could not run query");
213
}
214
0 commit comments