summaryrefslogtreecommitdiff
path: root/HutchTests/AppStateTests.swift
diff options
context:
space:
mode:
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)
+ }
}