@@ -385,11 +385,10 @@ func TestIssueSignedAppToken(t *testing.T) {
385
385
})
386
386
require .NoError (t , err )
387
387
388
- proxyClient := wsproxysdk .New (client .URL )
389
- proxyClient .SetSessionToken (proxyRes .ProxyToken )
390
-
391
388
t .Run ("BadAppRequest" , func (t * testing.T ) {
392
389
t .Parallel ()
390
+ proxyClient := wsproxysdk .New (client .URL )
391
+ proxyClient .SetSessionToken (proxyRes .ProxyToken )
393
392
394
393
ctx := testutil .Context (t , testutil .WaitLong )
395
394
_ , err = proxyClient .IssueSignedAppToken (ctx , workspaceapps.IssueTokenRequest {
@@ -410,6 +409,8 @@ func TestIssueSignedAppToken(t *testing.T) {
410
409
}
411
410
t .Run ("OK" , func (t * testing.T ) {
412
411
t .Parallel ()
412
+ proxyClient := wsproxysdk .New (client .URL )
413
+ proxyClient .SetSessionToken (proxyRes .ProxyToken )
413
414
414
415
ctx := testutil .Context (t , testutil .WaitLong )
415
416
_ , err = proxyClient .IssueSignedAppToken (ctx , goodRequest )
@@ -418,6 +419,8 @@ func TestIssueSignedAppToken(t *testing.T) {
418
419
419
420
t .Run ("OKHTML" , func (t * testing.T ) {
420
421
t .Parallel ()
422
+ proxyClient := wsproxysdk .New (client .URL )
423
+ proxyClient .SetSessionToken (proxyRes .ProxyToken )
421
424
422
425
rw := httptest .NewRecorder ()
423
426
ctx := testutil .Context (t , testutil .WaitLong )
0 commit comments