Files
ai-agent/internal/migration/notification_permissions_test.go
T
2026-04-28 23:00:22 +08:00

14 lines
340 B
Go

package migration
import "testing"
func TestNotificationPermissionMigrationRegistered(t *testing.T) {
migration, ok := migrationFuncs[7]
if !ok {
t.Fatalf("expected migration version 7 to be registered")
}
if migration.Remark != "sync notification permissions" {
t.Fatalf("unexpected migration remark: %q", migration.Remark)
}
}