diff --git a/tests/testthat/test-isTransacting.R b/tests/testthat/test-isTransacting.R index de32d43a..de8eb785 100644 --- a/tests/testthat/test-isTransacting.R +++ b/tests/testthat/test-isTransacting.R @@ -2,7 +2,7 @@ context("isTransacting") test_that("isTransacting detects transactions correctly", { skip_on_cran() - db <- postgresDefault() + con <- postgresDefault() expect_false(postgresIsTransacting(con)) dbBegin(con) expect_true(postgresIsTransacting(con))