fix(notification): sync notification permissions

This commit is contained in:
mlogclub
2026-04-28 22:59:42 +08:00
parent 55d55101df
commit 21a08f3cb1
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,13 @@
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)
}
}