[Asterisk-code-review] tests/rest api/asterisk/config/dynamic: Add a test for push ... (testsuite[master])

Matt Jordan asteriskteam at digium.com
Fri Jul 17 08:50:01 CDT 2015


Hello Joshua Colp,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/846

to look at the new patch set (#3).

Change subject: tests/rest_api/asterisk/config/dynamic: Add a test for push config updates
......................................................................

tests/rest_api/asterisk/config/dynamic: Add a test for push config updates

This patch adds a test that covers push updating of a dynamic, aka,
'sorcery', configuration object. The test covers both nominal and
off-nominal scenarios, including:
 - Off-nominal requests with bad path parameters
 - Off-nominal requests with no provided attributes to update
 - Off-nominal requests with invalid provided attributes
 - Off-nominal requests that attempt to update a dynamic object
   that is not supported by the configuration
 - Nominal updating of a previously created dynamic object

ASTERISK-25238

Change-Id: I98368d4c6490da4328952b14b183b9d5a56ef26f
---
M tests/rest_api/asterisk/config/dynamic/tests.yaml
A tests/rest_api/asterisk/config/dynamic/update/configs/ast1/pjsip.conf
A tests/rest_api/asterisk/config/dynamic/update/configs/ast1/sorcery.conf
A tests/rest_api/asterisk/config/dynamic/update/test-config.yaml
4 files changed, 108 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/46/846/3
-- 
To view, visit https://gerrit.asterisk.org/846
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I98368d4c6490da4328952b14b183b9d5a56ef26f
Gerrit-PatchSet: 3
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list