From a89bf24e105f542a45db1a391b0c86f1439572b8 Mon Sep 17 00:00:00 2001 From: Gowtham Rao Date: Mon, 23 Oct 2023 10:09:07 -0400 Subject: [PATCH] Test coverage can be 100% --- tests/testthat/test-createCohortExplorerApp.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-createCohortExplorerApp.R b/tests/testthat/test-createCohortExplorerApp.R index 7267ee3..cc4c372 100644 --- a/tests/testthat/test-createCohortExplorerApp.R +++ b/tests/testthat/test-createCohortExplorerApp.R @@ -91,11 +91,12 @@ test_that("no connection or connection details", { testthat::expect_error( createCohortExplorerApp( cdmDatabaseSchema = cdmDatabaseSchema, + cohortDatabaseSchema = cohortDatabaseSchema, vocabularyDatabaseSchema = vocabularyDatabaseSchema, cohortTable = cohortTable, cohortDefinitionId = c(1), sampleSize = 100, - databaseId = "database Data", + databaseId = "databaseRandom", exportFolder = outputDir ) )