@@ -51,7 +51,7 @@ describe('scapi custom status', () => {
5151
5252 sinon . stub ( command , 'requireOAuthCredentials' ) . returns ( void 0 ) ;
5353 sinon . stub ( command , 'jsonEnabled' ) . returns ( true ) ;
54- sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' } } ) ) ;
54+ sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' , tenantId : 'zzxy_prd' } } ) ) ;
5555
5656 sinon . stub ( command , 'getOAuthStrategy' ) . returns ( {
5757 getAuthorizationHeader : async ( ) => 'Bearer test' ,
@@ -95,7 +95,7 @@ describe('scapi custom status', () => {
9595
9696 sinon . stub ( command , 'requireOAuthCredentials' ) . returns ( void 0 ) ;
9797 sinon . stub ( command , 'jsonEnabled' ) . returns ( true ) ;
98- sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' } } ) ) ;
98+ sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' , tenantId : 'zzxy_prd' } } ) ) ;
9999
100100 sinon . stub ( command , 'getOAuthStrategy' ) . returns ( {
101101 getAuthorizationHeader : async ( ) => 'Bearer test' ,
@@ -123,7 +123,7 @@ describe('scapi custom status', () => {
123123 sinon . stub ( command , 'requireOAuthCredentials' ) . returns ( void 0 ) ;
124124 sinon . stub ( command , 'jsonEnabled' ) . returns ( false ) ;
125125 sinon . stub ( command , 'log' ) . returns ( void 0 ) ;
126- sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' } } ) ) ;
126+ sinon . stub ( command , 'resolvedConfig' ) . get ( ( ) => ( { values : { shortCode : 'kv7kzm78' , tenantId : 'zzxy_prd' } } ) ) ;
127127
128128 sinon . stub ( command , 'renderEndpoints' ) . returns ( void 0 ) ;
129129
0 commit comments