From 1ebb641bac27cbe8fe4f1f600e75addfa523d07a Mon Sep 17 00:00:00 2001 From: Ger Inberg Date: Tue, 6 Jun 2023 08:59:12 +0200 Subject: [PATCH] #44 don't cast table names. Increase required version of DatabaseConnector since from that version table names have been made lowercase --- DESCRIPTION | 2 +- tests/testthat/test-basic.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 16efa7b..c4f6e53 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -18,7 +18,7 @@ License: Apache License 2.0 URL: https://github.com/OHDSI/Eunomia BugReports: https://github.com/OHDSI/Eunomia/issues Depends: - DatabaseConnector (>= 2.2.0) + DatabaseConnector (>= 6.0.0) Imports: readr, rlang, diff --git a/tests/testthat/test-basic.R b/tests/testthat/test-basic.R index e9aeaa8..5494afb 100644 --- a/tests/testthat/test-basic.R +++ b/tests/testthat/test-basic.R @@ -32,7 +32,7 @@ test_that("Connect", { test_that("Table names and column names case", { connection <- DatabaseConnector::connect(getEunomiaConnectionDetails()) - tableNames <- DatabaseConnector::getTableNames(connection) + tableNames <- DatabaseConnector::getTableNames(connection, cast = 'none') expect_true(identical(tableNames, tolower(tableNames))) for (tableName in tableNames) {