-
Notifications
You must be signed in to change notification settings - Fork 0
[#621] 로그아웃, 회원탈퇴 이후 앱 배지가 그대로 남아있는 현상을 해결한다 #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,6 +39,19 @@ struct RootFeatureTests { | |
| await verifyDidLoginedFalse(adapter: adapter, trackAnalyticsEventUseCaseSpy: trackSpy) | ||
| } | ||
|
|
||
| @Test("RootFeature didLogined(false)는 앱 badge 초기화를 요청한다") | ||
| func RootFeature_didLogined_false는_앱_badge_초기화를_요청한다() async { | ||
| let badgeSpy = RootApplicationBadgeCountSpy() | ||
| let adapter = RootStoreTestAdapter(badgeCountSpy: badgeSpy) | ||
|
|
||
| await adapter.didLogined(false) | ||
| await waitUntil { | ||
| badgeSpy.counts == [0] | ||
| } | ||
|
|
||
| #expect(badgeSpy.counts == [0]) | ||
|
Comment on lines
+48
to
+52
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 현재
이 문제를 해결하려면 |
||
| } | ||
|
|
||
| @Test("RootFeature didLogined(true)는 기존 Root 상태관리처럼 signIn 상태를 true로 갱신하고 selectedMainTab을 home으로 되돌린다") | ||
| func RootFeature_didLogined_true는_기존_Root_상태관리처럼_signIn_상태를_true로_갱신하고_selectedMainTab을_home으로_되돌린다() async { | ||
| let trackSpy = RootTrackAnalyticsEventUseCaseSpy() | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.