模块化 AppStore 并完善素材管理与个人空间设置。
将会话、权限、位置、收款与排队存储拆分为独立模块,同步更新各 ViewModel 与单元测试,并补充素材管理 UI 与个人空间设置交互。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -30,7 +30,7 @@ final class UmengBootstrapTests: XCTestCase {
|
||||
UmengBootstrap.setConfigureHandlerForTesting { _, _ in
|
||||
callCount += 1
|
||||
}
|
||||
appStore.privacyAgreementAccepted = false
|
||||
appStore.session.privacyAgreementAccepted = false
|
||||
|
||||
XCTAssertFalse(UmengBootstrap.configureIfNeeded(appStore: appStore))
|
||||
XCTAssertFalse(UmengBootstrap.isConfigured)
|
||||
@ -42,7 +42,7 @@ final class UmengBootstrapTests: XCTestCase {
|
||||
UmengBootstrap.setConfigureHandlerForTesting { appKey, channel in
|
||||
calls.append((appKey, channel))
|
||||
}
|
||||
appStore.privacyAgreementAccepted = true
|
||||
appStore.session.privacyAgreementAccepted = true
|
||||
|
||||
XCTAssertTrue(UmengBootstrap.configureIfNeeded(appStore: appStore))
|
||||
XCTAssertTrue(UmengBootstrap.isConfigured)
|
||||
|
||||
Reference in New Issue
Block a user