diff --git a/back/models/sip.js b/back/models/sip.js index 62ae1eff9..f6b007314 100644 --- a/back/models/sip.js +++ b/back/models/sip.js @@ -1,11 +1,5 @@ module.exports = Self => { - // Validations - Self.validatesUniquenessOf('extension', { message: `The extension must be unique` }); - - Self.validatesPresenceOf('secret', { - message: `The secret can't be blank` - }); }; diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index c76a3d519..45b1e0398 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -590,7 +590,7 @@ export default { confirmButton: 'vn-route-tickets > vn-confirm button[response="ACCEPT"]' }, workerPbx: { - extensionInput: 'vn-worker-pbx vn-input-number[model="$ctrl.worker.sip.extension"] input', + extensionInput: 'vn-worker-pbx vn-textfield[model="$ctrl.worker.sip.extension"] input', saveButton: 'vn-worker-pbx vn-submit[label="Save"] input' }, workerTimeControl: {