번역 평가 버튼 · 내 퀘스트 검토 버튼 · MY 질문 상세 · MY 완료 퀘스트 수 · 행성/성운 칸 · 라운지 빈 상태 수정

This commit is contained in:
Sn-Kinos
2026-10-05 15:12:33 +09:00
parent 5ad229b971
commit f84d696c21
18 changed files with 666 additions and 365 deletions
+10
View File
@@ -667,6 +667,16 @@ void main() {
expect(profile.levelLabel, 'Lv.1 GLOW');
expect(profile.passportTier, PassportTier.silver);
});
test('완료 퀘스트는 검증 활동 표식 수에서 무효 표식을 뺀 값이다', () async {
final db = await _seed();
final col = db.collection('users/$_uid/verifiedCompletions');
await col.doc('q1_20261004').set({'questId': 'q1'});
await col.doc('q2_20261005').set({'questId': 'q2'});
await col.doc('q3_20261005').set({'questId': 'q3', 'voided': true});
final profile = await FirestoreMyRepository(_backend(db)).profile();
expect(profile.completedQuests, 2);
});
});
group('FPI 공동 순위 (C-19)', () {