Skip to content

Commit

Permalink
Compatibility with dev pool in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Feb 11, 2023
1 parent f2be50f commit d91f3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-pool-support.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d91f3f8

Please sign in to comment.