Skip to content

Commit

Permalink
Merge pull request #36 from OHDSI/dc6_patch
Browse files Browse the repository at this point in the history
Recognizing old and new connection details class name
  • Loading branch information
fdefalco authored Jan 11, 2023
2 parents e330860 + 94039dc commit 1220fdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ library(Eunomia)
connectionDetails <- getEunomiaConnectionDetails()

test_that("Get connection details", {
expect_s3_class(connectionDetails, "connectionDetails")
if (is(connectionDetails, "connectionDetails"))
expect_s3_class(connectionDetails, "connectionDetails")
else
expect_s3_class(connectionDetails, "ConnectionDetails")
})

test_that("Connect", {
Expand Down

0 comments on commit 1220fdb

Please sign in to comment.