@@ -243,7 +243,7 @@ describe('Management OutboundApplication', () => {
243243 'app123' ,
244244 'user456' ,
245245 [ 'read' , 'write' ] ,
246- { refreshToken : true } ,
246+ { withRefreshToken : true , forceRefresh : true } ,
247247 'tenant789' ,
248248 ) ;
249249
@@ -253,7 +253,7 @@ describe('Management OutboundApplication', () => {
253253 appId : 'app123' ,
254254 userId : 'user456' ,
255255 scopes : [ 'read' , 'write' ] ,
256- options : { refreshToken : true } ,
256+ options : { withRefreshToken : true , forceRefresh : true } ,
257257 tenantId : 'tenant789' ,
258258 } ,
259259 { token : 'key' } ,
@@ -393,7 +393,7 @@ describe('Management OutboundApplication', () => {
393393 'app123' ,
394394 'tenant789' ,
395395 [ 'read' , 'write' ] ,
396- { refreshToken : true } ,
396+ { withRefreshToken : true , forceRefresh : true } ,
397397 ) ;
398398
399399 expect ( mockHttpClient . post ) . toHaveBeenCalledWith (
@@ -402,7 +402,7 @@ describe('Management OutboundApplication', () => {
402402 appId : 'app123' ,
403403 tenantId : 'tenant789' ,
404404 scopes : [ 'read' , 'write' ] ,
405- options : { refreshToken : true } ,
405+ options : { withRefreshToken : true , forceRefresh : true } ,
406406 } ,
407407 { token : 'key' } ,
408408 ) ;
0 commit comments