Skip to content

Commit a16fced

Browse files
committed
Make the default test something that works as a non-superuser
1 parent 8676f93 commit a16fced

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/odbc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ mod test {
159159
connect(
160160
&Opts::new()
161161
.connection_string(postgres_connect())
162-
.sql_text("SHOW config_file"),
162+
.sql_text("SHOW IS_SUPERUSER"),
163163
)
164164
.unwrap();
165165
}

src/pg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ mod test {
8383
connect(
8484
&Opts::new()
8585
.connection_string(postgres_connect())
86-
.sql_text("SHOW config_file"),
86+
.sql_text("SHOW IS_SUPERUSER"),
8787
)
8888
.unwrap();
8989
}

0 commit comments

Comments
 (0)