github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/datastore/mysql/migrations/migrations_test.go (about) 1 //go:build ci 2 // +build ci 3 4 package migrations 5 6 import ( 7 "context" 8 "testing" 9 10 "github.com/stretchr/testify/require" 11 ) 12 13 func TestMySQLMigrationsWithUnsupportedPrefix(t *testing.T) { 14 req := require.New(t) 15 err := registerMigration("888", "", func(ctx context.Context, d Wrapper) error { 16 return nil 17 }, noTxMigration) 18 req.Error(err) 19 }