mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
tests: document remote token persistence across mode toggle
This commit is contained in:
committed by
Nimrod Gutman
parent
37e0b01684
commit
3b7a72bffb
@@ -57,6 +57,7 @@ struct AppStateRemoteConfigTests {
|
||||
remoteToken: "")
|
||||
let localGateway = localRoot["gateway"] as? [String: Any]
|
||||
let localRemoteConfig = localGateway?["remote"] as? [String: Any]
|
||||
// Local mode should not discard remote token state; users can return to remote mode later.
|
||||
#expect(localGateway?["mode"] as? String == "local")
|
||||
#expect(localRemoteConfig?["token"] as? String == "persisted-token")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user