Skip to content

Commit 729efb9

Browse files
committed
update test
1 parent a74e910 commit 729efb9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testthat/test-runCohortCharacterization.R

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ for (nm in names(testServers)) {
33

44
server <- testServers[[nm]]
55
con <- connect(server$connectionDetails)
6-
exportFolder <- file.path(tempdir(), paste0(nm, "exp"))
7-
recordKeepingFile <- file.path(exportFolder, "record.csv")
86
minCharacterizationMean <- 0.001
97

108
test_that("Testing getCohortCharacteristics", {
119
skip_if(skipCdmTests, "cdm settings not configured")
10+
exportFolder <- file.path(tempdir(), paste0(nm, "exp"))
11+
dir.create(exportFolder)
12+
recordKeepingFile <- file.path(exportFolder, "record.csv")
13+
on.exit(unlink(exportFolder))
1214

1315
results <- getCohortCharacteristics(
1416
connection = con,

0 commit comments

Comments
 (0)