Skip to content

Commit

Permalink
Restore DB tests and upload test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Jun 14, 2024
1 parent e28df5f commit 0e3dd49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dbmsPlatforms <- c() # c("bigquery", "oracle", "postgresql", "redshift", "snowflake", "spark", "sql server")
dbmsPlatforms <- c("bigquery", "oracle", "postgresql", "redshift", "snowflake", "spark", "sql server")
connectionDetails <- Eunomia::getEunomiaConnectionDetails()
outputFolder <- tempfile()
dir.create(outputFolder)
Expand Down
12 changes: 6 additions & 6 deletions tests/testthat/test-ResultsDataModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ test_that("Results upload", {
),
exdir = unzipFolder
)
#testUploadResults(connectionDetails = postgresConnectionDetails,
# resultsDatabaseSchema = postgresResultsDatabaseSchema,
# resultsFolder = unzipFolder)
# testUploadResults(connectionDetails = sqliteConnectionDetails,
# resultsDatabaseSchema = sqliteResultsDatabaseSchema,
# resultsFolder = unzipFolder)
testUploadResults(connectionDetails = postgresConnectionDetails,
resultsDatabaseSchema = postgresResultsDatabaseSchema,
resultsFolder = unzipFolder)
testUploadResults(connectionDetails = sqliteConnectionDetails,
resultsDatabaseSchema = sqliteResultsDatabaseSchema,
resultsFolder = unzipFolder)
})

0 comments on commit 0e3dd49

Please sign in to comment.