Skip to content

Commit bb001b6

Browse files
committed
test connection where postgres server credentials are unavailable
1 parent c95d7ce commit bb001b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/setup.R

+2
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ if (Sys.getenv("CDM5_POSTGRESQL_SERVER") != "") {
8080
},
8181
testthat::teardown_env()
8282
)
83+
} else {
84+
testDatabaseConnectionDetails <- DatabaseConnector::createConnectionDetails(dbms = "sqlite", server = ":memory:")
8385
}

0 commit comments

Comments
 (0)