File tree Expand file tree Collapse file tree
packages/backend/src/api/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ describe('M2MToken', () => {
142142 } ) ;
143143 expect ( response . id ) . toBe ( m2mId ) ;
144144 expect ( response . token ) . toMatch ( / ^ [ a - z A - Z 0 - 9 \- _ ] + \. [ a - z A - Z 0 - 9 \- _ ] + \. [ a - z A - Z 0 - 9 \- _ ] + $ / ) ;
145- expect ( response . scopes ) . toEqual ( [ 'mch_1xxxxx ' , 'mch_2xxxxx ' ] ) ;
145+ expect ( response . scopes ) . toEqual ( [ 'mch_1xxxxxxxxxxxxx ' , 'mch_2xxxxxxxxxxxxx ' ] ) ;
146146 } ) ;
147147
148148 it ( 'creates a jwt m2m token with custom claims and scopes' , async ( ) => {
@@ -182,7 +182,7 @@ describe('M2MToken', () => {
182182 expect ( response . id ) . toBe ( m2mId ) ;
183183 expect ( response . token ) . toMatch ( / ^ [ a - z A - Z 0 - 9 \- _ ] + \. [ a - z A - Z 0 - 9 \- _ ] + \. [ a - z A - Z 0 - 9 \- _ ] + $ / ) ;
184184 expect ( response . claims ) . toEqual ( customClaims ) ;
185- expect ( response . scopes ) . toEqual ( [ 'mch_1xxxxx ' , 'mch_2xxxxx ' ] ) ;
185+ expect ( response . scopes ) . toEqual ( [ 'mch_1xxxxxxxxxxxxx ' , 'mch_2xxxxxxxxxxxxx ' ] ) ;
186186 } ) ;
187187
188188 it ( 'creates an opaque format m2m token when explicitly specified' , async ( ) => {
You can’t perform that action at this time.
0 commit comments