File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,8 @@ func Test_ResolveRequest(t *testing.T) {
256
256
257
257
require .Equal (t , & workspaceapps.SignedToken {
258
258
Request : req ,
259
- Expiry : token .Expiry , // ignored to avoid flakiness
259
+ SessionID : token .SessionID , // ignored to avoid flakiness
260
+ Expiry : token .Expiry , // ignored to avoid flakiness
260
261
UserID : me .ID ,
261
262
WorkspaceID : workspace .ID ,
262
263
AgentID : agentID ,
@@ -294,6 +295,7 @@ func Test_ResolveRequest(t *testing.T) {
294
295
require .True (t , ok )
295
296
// normalize expiry
296
297
require .WithinDuration (t , token .Expiry , secondToken .Expiry , 2 * time .Second )
298
+ secondToken .SessionID = token .SessionID
297
299
secondToken .Expiry = token .Expiry
298
300
require .Equal (t , token , secondToken )
299
301
}
@@ -519,6 +521,7 @@ func Test_ResolveRequest(t *testing.T) {
519
521
// App name differs
520
522
AppSlugOrPort : appNamePublic ,
521
523
},
524
+ SessionID : uuid .New (),
522
525
Expiry : time .Now ().Add (time .Minute ),
523
526
UserID : me .ID ,
524
527
WorkspaceID : workspace .ID ,
You can’t perform that action at this time.
0 commit comments