Skip to content

Commit

Permalink
Skip on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Apr 13, 2021
1 parent ba85d13 commit e48b357
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/testthat/test-queries.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,16 @@ test_that("fractional seconds in datetime (#170)", {
})

test_that("timezone argument (#184)", {
skip_on_cran()

conn <- mariadb_default(timezone = "+02:00")
conn <- mariadbDefault(timezone = "+02:00")
tz <- dbGetQuery(conn, "SELECT @@session.time_zone")
expect_equal(tz[[1]], "+02:00")
dbDisconnect(conn)
})

test_that("bit(1) fields support NA values (#201)", {
con <- mariadb_default()
con <- mariadbDefault()
on.exit(dbDisconnect(con))

dbWriteTable(con, "testbit1",
data.frame(a = c(NA_integer_, 0:1), b = c(1, 2, 3)),
field.types = c(a = "BIT(1)"), overwrite = TRUE
Expand Down

0 comments on commit e48b357

Please sign in to comment.