diff options
Diffstat (limited to 'internal/repositories/migration_db_repo_test.go')
| -rw-r--r-- | internal/repositories/migration_db_repo_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/repositories/migration_db_repo_test.go b/internal/repositories/migration_db_repo_test.go index 264b3be..a38875f 100644 --- a/internal/repositories/migration_db_repo_test.go +++ b/internal/repositories/migration_db_repo_test.go @@ -159,7 +159,10 @@ func TestMigrationDBRepo_Revert(t *testing.T) { assert.NilError(t, err) migration := models.NewMigration(time.Now(), "test") - _, err = db.Exec(`INSERT INTO bolt_migrations(version) VALUES ($1);`, migration.Version) + _, err = db.Exec( + `INSERT INTO bolt_migrations(version) VALUES ($1);`, + migration.Version, + ) assert.NilError(t, err) migration.Applied = true |