Skip to content

Commit

Permalink
feat(tests): add nethcti_privacy_numbers property
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Dec 11, 2024
1 parent 80c3db4 commit 9404bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/10_nethvoice_actions/10_configure_integrations.robot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Resource ../api.resource
*** Test Cases ***
Check if nethvoice can be configured correctly
${response} = Run task module/${module_id}/configure-module
... {"nethvoice_host": "voice.ns8.local", "nethcti_ui_host": "cti.ns8.local", "user_domain": "${users_domain}", "reports_international_prefix": "+39", "nethvoice_adm_username": "${nv_domain_admin}", "nethvoice_adm_password": "${nv_domain_admin_password}", "lets_encrypt": false}
... {"nethvoice_host": "voice.ns8.local", "nethcti_ui_host": "cti.ns8.local", "user_domain": "${users_domain}", "reports_international_prefix": "+39", "nethvoice_adm_username": "${nv_domain_admin}", "nethvoice_adm_password": "${nv_domain_admin_password}", "lets_encrypt": false, "nethcti_privacy_numbers": "xxxxxx" }
... decode_json=False

Check if nethvoice is configured as expected
Expand All @@ -17,6 +17,7 @@ Check if nethvoice is configured as expected
Should Be Equal As Strings ${response['nethvoice_adm_username']} ${nv_domain_admin}
Should Be Equal As Strings ${response['nethvoice_adm_password']} ${nv_domain_admin_password}
Should Be Equal As Strings ${response['lets_encrypt']} False
Should Be Equal As Strings ${response['nethcti_privacy_numbers']} xxxxxx

Check if the password can be changed
${response} = Run task module/${module_id}/set-nethvoice-admin-password
Expand Down

0 comments on commit 9404bfd

Please sign in to comment.