From d91f3f828d09f3cca5ee6f018958d7794c27250b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sat, 11 Feb 2023 17:58:25 +0100 Subject: [PATCH] Compatibility with dev pool in tests --- tests/testthat/test-pool-support.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-pool-support.R b/tests/testthat/test-pool-support.R index 7ed92ec87..f13a56b1f 100644 --- a/tests/testthat/test-pool-support.R +++ b/tests/testthat/test-pool-support.R @@ -2,7 +2,7 @@ test_that("dm_from_con() supports 'Pool'", { skip_if_not_installed("pool") # expect no error - conn <- pool::dbPool(RSQLite::SQLite(), "", timeout = 10) + conn <- pool::dbPool(RSQLite::SQLite(), dbname = "", timeout = 10) DBI::dbWriteTable(conn, "mtcars", mtcars) dm <- dm::dm_from_con(conn, learn_keys = FALSE) expect_identical(names(dm), "mtcars")