@@ -16,31 +16,31 @@ describe('config:set:qnamaker', () => {
1616 . command ( [ 'config:set:qnamaker' , '--kbId' , 'aaaaaaaa' ] )
1717 . it ( 'Sets kbid in config file' , async ctx => {
1818 let config = await fs . readJSON ( getConfigFile ( ) )
19- expect ( config . qnamaker . kbId ) . to . contain ( 'aaaaaaaa' )
19+ expect ( config . qnamaker__kbId ) . to . contain ( 'aaaaaaaa' )
2020 } )
2121
2222 test
2323 . stdout ( )
2424 . command ( [ 'config:set:qnamaker' , '--subscriptionKey' , 'aaaaaaaa' ] )
2525 . it ( 'Sets subscriptionkey in config file' , async ctx => {
2626 let config = await fs . readJSON ( getConfigFile ( ) )
27- expect ( config . qnamaker . subscriptionKey ) . to . contain ( 'aaaaaaaa' )
27+ expect ( config . qnamaker__subscriptionKey ) . to . contain ( 'aaaaaaaa' )
2828 } )
2929
3030 test
3131 . stdout ( )
3232 . command ( [ 'config:set:qnamaker' , '--endpointKey' , 'aaaaaaaa' ] )
3333 . it ( 'Sets endpointKey in config file' , async ctx => {
3434 let config = await fs . readJSON ( getConfigFile ( ) )
35- expect ( config . qnamaker . subscriptionKey ) . to . contain ( 'aaaaaaaa' )
35+ expect ( config . qnamaker__endpointKey ) . to . contain ( 'aaaaaaaa' )
3636 } )
3737
3838 test
3939 . stdout ( )
4040 . command ( [ 'config:set:qnamaker' , '--hostname' , 'aaaaaaaa' ] )
4141 . it ( 'Sets hostname in config file' , async ctx => {
4242 let config = await fs . readJSON ( getConfigFile ( ) )
43- expect ( config . qnamaker . subscriptionKey ) . to . contain ( 'aaaaaaaa' )
43+ expect ( config . qnamaker__hostname ) . to . contain ( 'aaaaaaaa' )
4444 } )
4545
4646 test
@@ -62,7 +62,7 @@ describe('config:set:qnamaker empty config file', () => {
6262 . command ( [ 'config:set:qnamaker' , '--kbId' , 'aaaaaaaa' ] )
6363 . it ( 'Sets kbid in config file' , async ctx => {
6464 let config = await fs . readJSON ( getConfigFile ( ) )
65- expect ( config . qnamaker . kbId ) . to . contain ( 'aaaaaaaa' )
65+ expect ( config . qnamaker__kbId ) . to . contain ( 'aaaaaaaa' )
6666 } )
6767} )
6868
0 commit comments