Skip to content

Commit

Permalink
db/migration: Simple test for GetMigrations
Browse files Browse the repository at this point in the history
Just to play with coverage stats.

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
  • Loading branch information
mmlb committed Jan 23, 2021
1 parent 9008ef6 commit 8d7fea1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions db/migration/migration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ func TestMigrationFuncNamesMatchIDs(t *testing.T) {
}

}

func TestGetMigrations(t *testing.T) {
m := GetMigrations()
assert.Len(t, m.Migrations, len(migrations))
}

0 comments on commit 8d7fea1

Please sign in to comment.