Summary: | ASTERISK-23898: Testsuite: Simple nominal tests for Authenticate | ||
Reporter: | Matt Jordan (mjordan) | Labels: | |
Date Opened: | 2014-06-17 10:50:40 | Date Closed: | 2014-12-12 06:54:48.000-0600 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_authenticate Tests/testsuite |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Using the {{apptest}} pluggable module, write tests that verifies nominal authentication scenarios using the [Authenticate|https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate] dialplan application:
h1. Test One - Authentication using Hard Coded Password with no Max Limit Write a test that performs the following: # A channel enters into the {{Authenticate}} application. The application should have a hard coded password of at least 4 digits. # The channel should provide the application the correct DTMF digits for the password, and terminate the entry with a {{#}}. # The channel should exit out of the {{Authenticate}} application and continue to the next priority. A UserEvent should be emitted indicating success. h1. Test Two - Authentication using Hard Coded Password with a Max Limit Write a test that performs the following: # A channel enters into the {{Authenticate}} application. The application should have a hard coded password of 4 digits, with a {{maxdigits}} specified of 4. # The channel should provide the application the DTMF digits for the password, but should not provide a {{#}}. # The channel should exit out of the {{Authenticate}} application and continue to the next priority. A UserEvent should be emitted indicating success. | ||
Comments: |