번역 평가 버튼 · 내 퀘스트 검토 버튼 · MY 질문 상세 · MY 완료 퀘스트 수 · 행성/성운 칸 · 라운지 빈 상태 수정
This commit is contained in:
@@ -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)', () {
|
||||
|
||||
Reference in New Issue
Block a user