模块化 AppStore 并完善素材管理与个人空间设置。
将会话、权限、位置、收款与排队存储拆分为独立模块,同步更新各 ViewModel 与单元测试,并补充素材管理 UI 与个人空间设置交互。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -23,7 +23,7 @@ final class LocationProviderTests: XCTestCase {
|
||||
func testScenicSelectionUsesInjectedProviderSnapshot() async {
|
||||
let mock = MockLocationProvider()
|
||||
mock.snapshot = HomeLocationSnapshot(latitude: 30.2, longitude: 120.1, address: "杭州")
|
||||
appStore.saveRoleScenicList([
|
||||
appStore.permissions.saveRoleScenicList([
|
||||
ScenicInfo(id: 1, name: "西湖", status: 1, location: ScenicLocationInfo(lng: 120.1, lat: 30.2, address: "杭州"), coverImg: nil),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user