feat: update wallet punch point and report success

This commit is contained in:
2026-07-09 14:27:18 +08:00
parent 2970f1514b
commit 43e6133c21
34 changed files with 6671 additions and 71 deletions

View File

@ -41,6 +41,13 @@ final class HomeViewModelTests: XCTestCase {
XCTAssertFalse(viewModel.isMinimalTopRole)
}
func testLocationReportPromptDefaultsToFixedHomeCopy() {
let viewModel = HomeViewModel(appStore: appStore)
XCTAssertEqual(viewModel.locationInfoText, HomeViewModel.locationReportPromptText)
XCTAssertEqual(viewModel.locationInfoText, "您已进入打卡范围")
}
func testRebuildCommonMenusFiltersUnknownURIs() {
appStore.savePermissionItems([
HomePermissionItem(id: "1", name: "钱包", uri: "wallet"),