알림함 항목 생성 · 알림 이동 · 브리핑 항목 승인·상세 · 푸시 토픽을 가입 팬덤 전체로

This commit is contained in:
Sn-Kinos
2026-10-05 22:48:10 +09:00
parent fbf9a2c3d7
commit cf608a1d99
27 changed files with 714 additions and 69 deletions
+14
View File
@@ -1473,6 +1473,20 @@ void main() {
);
});
test('가입한 팬덤 전부의 토픽을 맞춘다 — 대표 팬덤 하나만이 아니다(C-34)', () async {
final db = await _seed();
await db.doc('users/$_uid/memberships/nj').set({'fandomId': 'nj'});
final transport = _FakeTransport();
await PushMessaging(
backend: _backend(db),
transport: transport,
).syncTopics(PushTopic.defaults);
expect(
transport.subscribed,
containsAll(['fandom_bts_briefing', 'fandom_nj_briefing']),
);
});
test('로그아웃 정리는 전 구분을 해지하고 토큰을 지운다', () async {
final db = await _seed();
final transport = _FakeTransport();