summaryrefslogtreecommitdiff
path: root/HutchTests/AppStateTests.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-12 00:15:13 -0500
committerChristian Cleberg <[email protected]>2026-04-12 00:15:13 -0500
commitcb1ea5ea4f163d87053285d3fb7999b12a3558b9 (patch)
tree84b562d12e642ff494194387b1b4e1d15b065eb0 /HutchTests/AppStateTests.swift
parent1c5a417277d986ee6fb7dc9dff0332338bdf6f3e (diff)
downloadhutch-2.13.1.tar.gz
hutch-2.13.1.tar.bz2
hutch-2.13.1.zip
harden system status and app reliabilityv2.13.1
Diffstat (limited to 'HutchTests/AppStateTests.swift')
-rw-r--r--HutchTests/AppStateTests.swift11
1 files changed, 11 insertions, 0 deletions
diff --git a/HutchTests/AppStateTests.swift b/HutchTests/AppStateTests.swift
index ca34df2..9cf4e13 100644
--- a/HutchTests/AppStateTests.swift
+++ b/HutchTests/AppStateTests.swift
@@ -22,4 +22,15 @@ struct AppStateTests {
#expect(appState.deepLinkError == "The ticket could not be found or is inaccessible.")
}
+
+ @Test
+ @MainActor
+ func openSystemStatusSelectsMoreTabAndQueuesNavigation() {
+ let appState = AppState()
+
+ appState.openSystemStatus()
+
+ #expect(appState.selectedTab == .more)
+ #expect(appState.pendingTabNavigation == .systemStatus)
+ }
}