fix(collaboration): mint the mobile view test token with the token manager secret (#3647)

This commit is contained in:
Florian Schade authored and GitHub committed 2026-10-02 12:18:17 +02:00
1 parent 97adf2e0d8
commit e848d469d5
1 file changed
+1 -1
@@ -241,7 +241,7 @@ var _ = Describe("Discovery", func() {
Path: "/path/to/file.docx",
},
ViewMode: viewMode,
AccessToken: MintToken(myself, cfg.Wopi.Secret, nowTime),
AccessToken: MintToken(myself, cfg.TokenManager.JWTSecret, nowTime),
}
if mobile != "" {
req.Opaque = utils.AppendPlainToOpaque(req.Opaque, "mobile", mobile)