Unit Test Protocol (Prime VoIP ENVIA)
Unit Test Protocol (Prime VoIP ENVIA)
Manual acceptance checks for nmsprime-provvoipenvia. Use a non-production Envia test tenant when possible.
Environment
Item | Expected |
|---|---|
Package |
|
Dependency |
|
Credentials | Test Envia endpoint + auth in Global Config |
Queue | Workers processing ProvVoipEnvia jobs |
Protocol
UT-ENVIA-01 — Module loads
Confirm module appears in NMSPrime module list / sidebar.
Open EnviaOrder / EnviaContract index views without 500 errors.
Pass: Controllers and views render for authorized users.
UT-ENVIA-02 — Availability probe
Run an availability check for a known serviceable test address (UI or
EnviaApiAvailabilityJobpath).Confirm a structured success/failure result is stored or shown.
Pass: Result matches Envia test-system expectation; errors are visible, not silent.
UT-ENVIA-03 — Create contract / voip account order
On a test contract with modem + phonenumber prerequisites, create an EnviaOrder for contract/voip-account creation (per nested setup guide).
Process via queue.
Confirm EnviaContract link and order status after success.
Pass: Local EnviaContract ID populated from API; order not stuck in “new” indefinitely.
UT-ENVIA-04 — Phonebook order
Create a phonebook create/update EnviaOrder for a provisioned number.
Process and refresh via
provvoipenvia:update_phonebooksif used in your deploy.
Pass: Directory fields mirrored locally after success.
UT-ENVIA-05 — Status refresh commands
Run
provvoipenvia:update_envia_orders(and contracts updater) against the test tenant.Confirm existing orders pick up status changes without corrupting payloads.
Pass: Status fields update; no mass soft-delete of valid orders.
UT-ENVIA-06 — Voice data path
Execute voice-data update (
provvoipenvia:update_voice_data) for a period with known CDR/voice items in the test feed.Confirm Billing-side items appear per Connection to Billing.
Pass: Importable items created/updated; failures logged.
UT-ENVIA-07 — Authorization
Login as a role without Envia permissions.
Attempt order create / config change.
Pass: Denied by ACL; no API call fired.
Evidence to attach
Screenshots of successful EnviaOrder status
Redacted request/response excerpts from a successful and a failed order
Cron/command output for updaters
Out of scope for this protocol
Full regression of every Envia SOAP method
Production number porting without carrier change window
Billing invoice calculation (covered by Billing app tests)