aboutsummaryrefslogtreecommitdiffstats
path: root/internal/repositories
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2024-03-10 20:15:04 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2024-03-10 20:15:04 -0400
commit62bacfb34dbea7ca88e22879a8d1699c79d58f97 (patch)
tree8b950c422d04866d9dd3681e0e595f9e16c4ea0e /internal/repositories
parentAttempt to fix a couple flaky tests (diff)
downloadcli-62bacfb34dbea7ca88e22879a8d1699c79d58f97.zip
Tweak tests
Diffstat (limited to 'internal/repositories')
-rw-r--r--internal/repositories/migration_db_repo_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/repositories/migration_db_repo_test.go b/internal/repositories/migration_db_repo_test.go
index d54fb24..2a316c9 100644
--- a/internal/repositories/migration_db_repo_test.go
+++ b/internal/repositories/migration_db_repo_test.go
@@ -124,6 +124,7 @@ func TestApply(t *testing.T) {
t.Cleanup(func() {
bolttest.DropTable(t, testdb, "tmp")
})
+ bolttest.DropTable(t, testdb, "tmp")
migration := models.NewTimestampMigration(time.Now(), "test")
err = repo.Apply(`CREATE TABLE tmp(id INT NOT NULL PRIMARY KEY)`, migration)