Commit 218d07d3 authored by acud's avatar acud Committed by GitHub

rename migration tests (#117)

parent 052f7515
...@@ -191,8 +191,8 @@ func TestManyMigrations(t *testing.T) { ...@@ -191,8 +191,8 @@ func TestManyMigrations(t *testing.T) {
} }
} }
// TestMigrationFailFrom checks that local store boot should fail when the schema we're migrating from cannot be found // TestMigrationErrorFrom checks that local store boot should fail when the schema we're migrating from cannot be found
func TestMigrationFailFrom(t *testing.T) { func TestMigrationErrorFrom(t *testing.T) {
defer func(v []migration, s string) { defer func(v []migration, s string) {
schemaMigrations = v schemaMigrations = v
DbSchemaCurrent = s DbSchemaCurrent = s
...@@ -251,8 +251,8 @@ func TestMigrationFailFrom(t *testing.T) { ...@@ -251,8 +251,8 @@ func TestMigrationFailFrom(t *testing.T) {
} }
} }
// TestMigrationFailTo checks that local store boot should fail when the schema we're migrating to cannot be found // TestMigrationErrorTo checks that local store boot should fail when the schema we're migrating to cannot be found
func TestMigrationFailTo(t *testing.T) { func TestMigrationErrorTo(t *testing.T) {
defer func(v []migration, s string) { defer func(v []migration, s string) {
schemaMigrations = v schemaMigrations = v
DbSchemaCurrent = s DbSchemaCurrent = s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment