@@ -579,11 +579,11 @@ describe('[Users]', () => {
579579
580580 ( IS_EE ? describe : describe . skip ) ( 'Voice call extension' , ( ) => {
581581 beforeEach ( async ( ) => {
582- await updateSetting ( 'VoIP_TeamCollab_Enabled ' , true ) ;
582+ await updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , true ) ;
583583 } ) ;
584584
585585 after ( async ( ) => {
586- await updateSetting ( 'VoIP_TeamCollab_Enabled ' , true ) ;
586+ await updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , true ) ;
587587 } ) ;
588588
589589 it ( 'should create a user with a voice call extension' , async ( ) => {
@@ -644,7 +644,7 @@ describe('[Users]', () => {
644644 } ) ;
645645
646646 it ( 'should not create a user if voip is disabled' , async ( ) => {
647- await updateSetting ( 'VoIP_TeamCollab_Enabled ' , false ) ;
647+ await updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , false ) ;
648648 await request
649649 . post ( api ( 'users.create' ) )
650650 . set ( credentials )
@@ -2530,11 +2530,11 @@ describe('[Users]', () => {
25302530 } ) ;
25312531
25322532 after ( async ( ) => {
2533- await Promise . all ( [ deleteUser ( user ) , updateSetting ( 'VoIP_TeamCollab_Enabled ' , true ) ] ) ;
2533+ await Promise . all ( [ deleteUser ( user ) , updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , true ) ] ) ;
25342534 } ) ;
25352535
25362536 beforeEach ( async ( ) => {
2537- await Promise . all ( [ updateSetting ( 'VoIP_TeamCollab_Enabled ' , true ) ] ) ;
2537+ await Promise . all ( [ updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , true ) ] ) ;
25382538 } ) ;
25392539
25402540 it ( "should update the user's voice call extension" , async ( ) => {
@@ -2572,7 +2572,7 @@ describe('[Users]', () => {
25722572 } ) ;
25732573
25742574 it ( "should not update the user's voice call extension if voip setting is disabled" , async ( ) => {
2575- await updateSetting ( 'VoIP_TeamCollab_Enabled ' , false ) ;
2575+ await updateSetting ( 'VoIP_TeamCollab_SIP_Integration_Enabled ' , false ) ;
25762576 await request
25772577 . post ( api ( 'users.update' ) )
25782578 . set ( credentials )
0 commit comments