From 0285638951ac56f3311c7264fe338661a240ce12 Mon Sep 17 00:00:00 2001 From: Adam Black Date: Sat, 9 Dec 2023 17:11:53 +0100 Subject: [PATCH] try again --- tests/testthat/setup.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/setup.R b/tests/testthat/setup.R index e539e1a3..3f4e594f 100644 --- a/tests/testthat/setup.R +++ b/tests/testthat/setup.R @@ -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"),