bbgo_origin/pkg/migrations/mysql/migration_api_test.go
2023-09-01 17:54:43 +08:00

21 lines
322 B
Go

package mysql
import (
"testing"
"github.com/c9s/rockhopper"
"github.com/stretchr/testify/assert"
)
func TestGetMigrationsMap(t *testing.T) {
mm := GetMigrationsMap()
assert.NotEmpty(t, mm)
}
func TestMergeMigrationsMap(t *testing.T) {
MergeMigrationsMap(map[int64]*rockhopper.Migration{
2: {},
3: {},
})
}