Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack3 committed Dec 9, 2023
1 parent 9287b4a commit 0285638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ get_connection <- function(dbms) {
}

if (dbms == "sqlserver" && Sys.getenv("CDM5_SQL_SERVER_USER") != "") {
print(Sys.getenv("SQL_SERVER_DRIVER"))
return(DBI::dbConnect(odbc::odbc(),
# Driver = Sys.getenv("SQL_SERVER_DRIVER"),
Driver = Sys.getenv("SQL_SERVER_DRIVER"),
Server = Sys.getenv("CDM5_SQL_SERVER_SERVER"),
Database = Sys.getenv("CDM5_SQL_SERVER_CDM_DATABASE"),
UID = Sys.getenv("CDM5_SQL_SERVER_USER"),
Expand Down

0 comments on commit 0285638

Please sign in to comment.