Skip to content

Commit

Permalink
Add test placholders
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Sep 14, 2021
1 parent 043f6d6 commit 6369879
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/helper-DBItest.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ DBItest::make_context(
NULL,
name = "RPostgres",
tweaks = DBItest::tweaks(
# Redshift:
# omit_blob_tests = TRUE,

placeholder_pattern = "$1",
date_cast = function(x) paste0("date '", x, "'"),
time_cast = function(x) paste0("time '", x, "'"),
Expand All @@ -17,6 +20,13 @@ DBItest::make_context(
if (.Platform$r_arch == "i386") "append_roundtrip_timestamp",
if (.Platform$r_arch == "i386") "roundtrip_timestamp",

# Redshift:
# "exists_table_temporary",
# "remove_table_temporary",
# "remove_table_temporary_arg",
# "list_objects_temporary",
# "list_fields_temporary",

NULL
)
)

0 comments on commit 6369879

Please sign in to comment.