修复 Cookie 续期终态与账号恢复链路
This commit is contained in:
1 parent
50d09eb47a
commit
5f4d199231
11 files changed
+430
-77
No files matched your search
@@ -60,6 +60,9 @@ func newAccountForTest(t *testing.T) (*Account, *recordingHandler, *db.Store, fu
|
||||
Store: store,
|
||||
Handler: h,
|
||||
})
|
||||
// 通用账号测试默认不启用 loginuser.get;需要验证登录态恢复的用例会
|
||||
// 显式注入 statusMtop,避免单元测试访问真实网络。
|
||||
acc.mtop = &fakeRunMtop{token: "test-token"}
|
||||
return acc, h, store, func() { d.Close() }
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user