aboutsummaryrefslogtreecommitdiffstats
path: root/internal/models/migration_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models/migration_test.go')
-rw-r--r--internal/models/migration_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/models/migration_test.go b/internal/models/migration_test.go
index aae1cba..d7c1d6d 100644
--- a/internal/models/migration_test.go
+++ b/internal/models/migration_test.go
@@ -16,6 +16,7 @@ func TestNewTimestampMigration(t *testing.T) {
check.Equal(t, m.Version, "20200101000000")
check.Equal(t, m.Message, "test message")
check.Equal(t, m.Applied, false)
+ check.DeepEqual(t, m.Dependencies, []string{})
}
func TestNewSequentialMigration(t *testing.T) {
@@ -30,6 +31,7 @@ func TestNewSequentialMigration(t *testing.T) {
check.Equal(t, m.Version, "100")
check.Equal(t, m.Message, "test message")
check.Equal(t, m.Applied, false)
+ check.DeepEqual(t, m.Dependencies, []string{})
}
func TestName(t *testing.T) {