Skip to content

Commit

Permalink
Test change for mac osx failures
Browse files Browse the repository at this point in the history
  • Loading branch information
azimov committed Sep 16, 2024
1 parent 830c7f1 commit d128e61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-7-DatabaseMigrations.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ test_that("Database Migrations execute without error", {
databaseSchema = resultsDatabaseSchema,
tablePrefix = "cd_"
)

on.exit(migrator$finalize())
expect_true(migrator$check())

.createDataModel(
Expand All @@ -54,7 +56,7 @@ test_that("Database Migrations execute without error", {
)

expect_false(all(migrator$getStatus()$executed))

migrator$finalize()

migrateDataModel(
connectionDetails = connectionDetails,
Expand Down

0 comments on commit d128e61

Please sign in to comment.