[asterisk-commits] asanders: testsuite/asterisk/trunk r6319 - /asterisk/trunk/tests/rest_api/bri...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jan 20 12:47:05 CST 2015
Author: asanders
Date: Tue Jan 20 12:46:54 2015
New Revision: 6319
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=6319
Log:
Testsuite: Created tests to ensure that ARI behaves as expected when updating a bridge through the /bridges/{bridgeId} endpoint.
The tests exercise all expected combinations where posting to the /bridges/{bridgeId} enpoint should fail. If a bridge with the given <bridgeId> already exists in Asterisk, the post is expected to be treated as an update. The expected behavior is to reject requests that include any value for the query parameter <type> and/or a value for the query parameter <name> that differs than the name used when creating the bridge, and return an HTTP status code of 500 (Internal Server Error) upon rejection of the request.
ASTERISK-24560 #close
Reported By: Kinsey Moore
Review: https://reviewboard.asterisk.org/r/4348/
Modified:
asterisk/trunk/tests/rest_api/bridges/tests.yaml
Modified: asterisk/trunk/tests/rest_api/bridges/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/bridges/tests.yaml?view=diff&rev=6319&r1=6318&r2=6319
==============================================================================
--- asterisk/trunk/tests/rest_api/bridges/tests.yaml (original)
+++ asterisk/trunk/tests/rest_api/bridges/tests.yaml Tue Jan 20 12:46:54 2015
@@ -1,4 +1,5 @@
tests:
+ - test: 'error'
- test: 'happy'
- test: 'unhappy'
- test: 'hangup'
More information about the asterisk-commits
mailing list