@@ -200,7 +200,7 @@ describe("Integration tests - Wrong SDK key", () => {
200200 it ( "Auto poll with wrong SDK Key - getValueAsync() should return default value" , async ( ) => {
201201
202202 const defaultValue = "NOT_CAT" ;
203- const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY" , PollingMode . AutoPoll ,
203+ const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY-56789012/1234567890123456789012 " , PollingMode . AutoPoll ,
204204 { requestTimeoutMs : 500 , maxInitWaitTimeSeconds : 1 } ) ;
205205
206206 const actual : string = await client . getValueAsync ( "stringDefaultCat" , defaultValue ) ;
@@ -212,7 +212,7 @@ describe("Integration tests - Wrong SDK key", () => {
212212 it ( "Manual poll with wrong SDK Key - getValueAsync() should return default value" , async ( ) => {
213213
214214 const defaultValue = "NOT_CAT" ;
215- const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY" , PollingMode . ManualPoll , { requestTimeoutMs : 500 } ) ;
215+ const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY-56789012/1234567890123456789012 " , PollingMode . ManualPoll , { requestTimeoutMs : 500 } ) ;
216216
217217 const actual : string = await client . getValueAsync ( "stringDefaultCat" , defaultValue ) ;
218218 assert . strictEqual ( actual , defaultValue ) ;
@@ -226,7 +226,7 @@ describe("Integration tests - Wrong SDK key", () => {
226226 it ( "Lazy load with wrong SDK Key - getValueAsync() should return default value" , async ( ) => {
227227
228228 const defaultValue = "NOT_CAT" ;
229- const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY" , PollingMode . LazyLoad , { requestTimeoutMs : 500 } ) ;
229+ const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY-56789012/1234567890123456789012 " , PollingMode . LazyLoad , { requestTimeoutMs : 500 } ) ;
230230
231231 const actual : string = await client . getValueAsync ( "stringDefaultCat" , defaultValue ) ;
232232 assert . strictEqual ( actual , defaultValue ) ;
@@ -236,7 +236,7 @@ describe("Integration tests - Wrong SDK key", () => {
236236
237237 it ( "getAllKeysAsync() should not crash with wrong SDK Key" , async ( ) => {
238238
239- const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY" , PollingMode . ManualPoll , { requestTimeoutMs : 500 } ) ;
239+ const client : IConfigCatClient = configcatClient . getClient ( "WRONG_SDK_KEY-56789012/1234567890123456789012 " , PollingMode . ManualPoll , { requestTimeoutMs : 500 } ) ;
240240
241241 const keys : string [ ] = await client . getAllKeysAsync ( ) ;
242242 assert . equal ( keys . length , 0 ) ;
0 commit comments