끝난 이클립스 합류 문구 · HOME 헤더 POP · 다국어 HOME 레이아웃 · 캠페인 표시 수정
This commit is contained in:
@@ -196,7 +196,7 @@ void main() {
|
||||
final db = await _seed();
|
||||
final snapshot = await FirestoreHomeRepository(_backend(db)).load();
|
||||
|
||||
expect(snapshot.popBalance, 12540);
|
||||
expect(snapshot.popBalance, 12840, reason: '총 보유 = 일반 12,540 + 기여 300');
|
||||
expect(snapshot.liveTicker, contains('버프'));
|
||||
expect(snapshot.growth.fandomName, 'BTS');
|
||||
// 설명 프레임 `2097:16391` — 인사 줄은 로그인 사용자 기준. 팬덤의 직전 기여자가 아니다.
|
||||
@@ -734,6 +734,21 @@ void main() {
|
||||
expect(again.first.title, '글 0');
|
||||
});
|
||||
|
||||
test('HOME 헤더 POP 은 총 보유(일반 + 기여 + 보류) — POP 내역 · 퀘스트 목록과 같은 값(179:29099 · 10/8 r11)', () async {
|
||||
final db = await _seed();
|
||||
await db.doc('users/$_uid/wallet/main').set({
|
||||
'activityBalance': 12130,
|
||||
'supportBalance': 330,
|
||||
'pendingActivity': 20,
|
||||
});
|
||||
final backend = _backend(db);
|
||||
final home = FirestoreHomeRepository(backend);
|
||||
expect((await home.load()).popBalance, 12480);
|
||||
expect(await home.watchPopBalance().first, 12480);
|
||||
expect(await FirestoreQuestRepository(backend).popBalance(), 12480);
|
||||
expect((await FirestoreMyRepository(backend).profile()).balancePop, 12480);
|
||||
});
|
||||
|
||||
test('다른 팬덤 글은 섞이지 않는다', () async {
|
||||
final db = await seedPlanet();
|
||||
await db.collection('posts').add({
|
||||
|
||||
Reference in New Issue
Block a user