[asterisk-commits] rest api/channels: Add tests for create and dial (testsuite[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 5 09:11:15 CDT 2016
Anonymous Coward #1000019 has submitted this change and it was merged.
Change subject: rest_api/channels: Add tests for create and dial
......................................................................
rest_api/channels: Add tests for create and dial
Added:
directory create_dial_bridge
create_dial_bridge/create/nominal
create_dial_bridge/create/off-nominal
create_dial_bridge/dial/nominal/basic
create_dial_bridge/dial/nominal/continue
create_dial_bridge/dial/off-nominal
Moved:
channels/create_and_dial to create_dial_bridge/bridge/bridge_then_dial
Change-Id: I6a3213635adb21dde326f98dd5f8273287217d03
---
R tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/configs/ast1/extensions.conf
R tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/bridge/tests.yaml
A tests/rest_api/channels/create_dial_bridge/create/nominal/configs/ast1/extensions.conf
A tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/create/off-nominal/configs/ast1/extensions.conf
A tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/create/tests.yaml
A tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/configs/ast1/extensions.conf
A tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/configs/ast1/extensions.conf
A tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/dial/nominal/tests.yaml
A tests/rest_api/channels/create_dial_bridge/dial/off-nominal/configs/ast1/extensions.conf
A tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml
A tests/rest_api/channels/create_dial_bridge/dial/tests.yaml
A tests/rest_api/channels/create_dial_bridge/tests.yaml
M tests/rest_api/channels/tests.yaml
18 files changed, 640 insertions(+), 1 deletion(-)
Approvals:
Mark Michelson: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
diff --git a/tests/rest_api/channels/create_and_dial/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/configs/ast1/extensions.conf
similarity index 100%
rename from tests/rest_api/channels/create_and_dial/configs/ast1/extensions.conf
rename to tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/configs/ast1/extensions.conf
diff --git a/tests/rest_api/channels/create_and_dial/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml
similarity index 100%
rename from tests/rest_api/channels/create_and_dial/test-config.yaml
rename to tests/rest_api/channels/create_dial_bridge/bridge/bridge_then_dial/test-config.yaml
diff --git a/tests/rest_api/channels/create_dial_bridge/bridge/tests.yaml b/tests/rest_api/channels/create_dial_bridge/bridge/tests.yaml
new file mode 100644
index 0000000..6025883
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/bridge/tests.yaml
@@ -0,0 +1,2 @@
+tests:
+ - test: 'bridge_then_dial'
diff --git a/tests/rest_api/channels/create_dial_bridge/create/nominal/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/create/nominal/configs/ast1/extensions.conf
new file mode 100644
index 0000000..8d983cb
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/create/nominal/configs/ast1/extensions.conf
@@ -0,0 +1,7 @@
+[default]
+
+exten => s,1,NoOp()
+ same => n,Answer()
+ same => n,Playback(silence/1&please-try-again&silence/3)
+ same => n,Hangup()
+
diff --git a/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml
new file mode 100644
index 0000000..b969927
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/create/nominal/test-config.yaml
@@ -0,0 +1,81 @@
+testinfo:
+ summary: 'Test channels/create.'
+ description: |
+ * Create channel 1 using channels/create with endpoint = Local/s at default
+ * Do a get to make sure it's actually there
+ * Delete the channel
+ * Wait for ChannelHangupRequest
+ * Do another get and test for 404
+ * Wait for StasisEnd
+ * Stop.
+
+test-modules:
+ test-object:
+ config-section: 'test-object-config'
+ typename: 'ari.AriBaseTestObject'
+ modules:
+ - config-section: 'pluggable-config'
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ apps: 'testsuite'
+ reactor-timeout: 15
+ stop-on-end: False
+
+pluggable-config:
+ - ari-start:
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/create'
+ params:
+ endpoint: 'Local/s at default'
+ app: 'testsuite'
+ channelId: 'channel1'
+ expect: 200
+
+ - ari-events:
+ match:
+ type: 'StasisStart'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 200
+ - method: 'delete'
+ uri: 'channels/channel1'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 404
+
+ - ari-events:
+ match:
+ type: 'StasisEnd'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ stop_test:
+
+properties:
+ minversion: '14.0.0'
+ dependencies:
+ - python: 'autobahn.websocket'
+ - python: 'requests'
+ - python: 'twisted'
+ - python: 'starpy'
+ - asterisk: 'res_ari_channels'
+ tags:
+ - ARI
diff --git a/tests/rest_api/channels/create_dial_bridge/create/off-nominal/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/create/off-nominal/configs/ast1/extensions.conf
new file mode 100644
index 0000000..8d983cb
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/create/off-nominal/configs/ast1/extensions.conf
@@ -0,0 +1,7 @@
+[default]
+
+exten => s,1,NoOp()
+ same => n,Answer()
+ same => n,Playback(silence/1&please-try-again&silence/3)
+ same => n,Hangup()
+
diff --git a/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml
new file mode 100644
index 0000000..a3a2b12
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/create/off-nominal/test-config.yaml
@@ -0,0 +1,135 @@
+testinfo:
+ summary: 'Test channel operation failures on newly created channel'
+ description: |
+ * Create channel 1 using channels/create with endpoint = Local/s at default
+ * Do a get to make sure it's actually there
+ * Perform operations that should fail
+ * Delete the channel
+ * Wait for ChannelHangupRequest
+ * Do another get and test for 404
+ * Wait for StasisEnd
+ * Stop.
+
+test-modules:
+ test-object:
+ config-section: 'test-object-config'
+ typename: 'ari.AriBaseTestObject'
+ modules:
+ - config-section: 'pluggable-config'
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ apps: 'testsuite'
+ reactor-timeout: 15
+ stop-on-end: False
+
+pluggable-config:
+ - ari-start:
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/create'
+ params:
+ endpoint: 'Local/s at default'
+ app: 'testsuite'
+ channelId: 'channel1'
+ expect: 200
+
+ - ari-events:
+ match:
+ type: 'StasisStart'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 200
+
+ - method: 'post'
+ uri: 'channels/channel1/continue'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/redirect'
+ params:
+ endpoint: 'doesnt_matter'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/answer'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/dtmf'
+ params:
+ dtmf: '12345'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/ring'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/ring'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/mute'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/mute'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/hold'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/hold'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/moh'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/moh'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/silence'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/silence'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/play'
+ params:
+ media: 'sound:silence/5'
+ expect: 412
+
+ - method: 'delete'
+ uri: 'channels/channel1'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 404
+
+ - ari-events:
+ match:
+ type: 'StasisEnd'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ stop_test:
+
+properties:
+ minversion: '14.0.0'
+ dependencies:
+ - python: 'autobahn.websocket'
+ - python: 'requests'
+ - python: 'twisted'
+ - python: 'starpy'
+ - asterisk: 'res_ari_channels'
+ tags:
+ - ARI
diff --git a/tests/rest_api/channels/create_dial_bridge/create/tests.yaml b/tests/rest_api/channels/create_dial_bridge/create/tests.yaml
new file mode 100644
index 0000000..de8ec40
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/create/tests.yaml
@@ -0,0 +1,3 @@
+tests:
+ - test: 'nominal'
+ - test: 'off-nominal'
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/configs/ast1/extensions.conf
new file mode 100644
index 0000000..6df8bd8
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/configs/ast1/extensions.conf
@@ -0,0 +1,7 @@
+[default]
+
+exten => s,1,NoOp()
+ same => n,Answer()
+ same => n,Playback(silence/3)
+ same => n,Hangup()
+
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml
new file mode 100644
index 0000000..bd75d43
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/nominal/basic/test-config.yaml
@@ -0,0 +1,102 @@
+testinfo:
+ summary: 'Test channels/create then dial.'
+ description: |
+ * Create channel 1 using channels/create with endpoint = Local/s at default
+ * Do a get to make sure it's actually there
+ * Dial the channel
+ * Wait for answer and dialplan Channel HangupRequest
+ * Delete the channel
+ * Wait for our ChannelHangupRequest
+ * Stop.
+
+test-modules:
+ test-object:
+ config-section: 'test-object-config'
+ typename: 'ari.AriBaseTestObject'
+ modules:
+ - config-section: 'pluggable-config'
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ apps: 'testsuite'
+ reactor-timeout: 30
+ stop-on-end: False
+
+pluggable-config:
+ - ari-start:
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/create'
+ params:
+ endpoint: 'Local/s at default'
+ app: 'testsuite'
+ channelId: 'channel1'
+ expect: 200
+
+ - ari-events:
+ match:
+ type: 'StasisStart'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 200
+
+ - method: 'post'
+ uri: 'channels/channel1/dial'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'Dial'
+ dialstatus: 'ANSWER'
+ application: 'testsuite'
+ peer:
+ id: 'channel1'
+ state: 'Up'
+ count: 1
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 16
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'delete'
+ uri: 'channels/channel1'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 32
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+
+ - ari-events:
+ match:
+ type: 'StasisEnd'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ stop_test:
+
+properties:
+ minversion: '14.0.0'
+ dependencies:
+ - python: 'autobahn.websocket'
+ - python: 'requests'
+ - python: 'twisted'
+ - python: 'starpy'
+ - asterisk: 'res_ari_channels'
+ tags:
+ - ARI
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/configs/ast1/extensions.conf
new file mode 100644
index 0000000..1e35e87
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/configs/ast1/extensions.conf
@@ -0,0 +1,8 @@
+[default]
+
+exten => 1000,1,Answer
+ same => n,Echo()
+
+exten => 2000,1,Answer
+ same => n,Wait(2)
+ same => n,Hangup(99)
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml
new file mode 100644
index 0000000..c7f3e9c
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/nominal/continue/test-config.yaml
@@ -0,0 +1,117 @@
+testinfo:
+ summary: 'Test continue on a channel created with separate dial.'
+ description: |
+ * Create channel 1 using channels/create with endpoint = Local/1000 at default
+ * Do a get to make sure it's actually there
+ * Dial the channel
+ * Wait for answer
+ * Send continue
+ * Wait for StasisStart from new extension
+ * Wait for Hangup app
+ * Wait for ChannelHangupRequest with cause 99
+ * Delete the channel
+ * Wait for our ChannelHangupRequest
+ * Wait for StasisEnd
+ * Stop.
+
+test-modules:
+ test-object:
+ config-section: 'test-object-config'
+ typename: 'ari.AriBaseTestObject'
+ modules:
+ - config-section: 'pluggable-config'
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ apps: 'testsuite'
+ reactor-timeout: 30
+ stop-on-end: False
+
+pluggable-config:
+ - ari-start:
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/create'
+ params:
+ endpoint: 'Local/1000 at default'
+ app: 'testsuite'
+ appArgs: 'extension_1000'
+ channelId: 'channel1'
+ expect: 200
+
+ - ari-events:
+ match:
+ type: 'StasisStart'
+ application: 'testsuite'
+ args: ['extension_1000']
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 200
+
+ - method: 'post'
+ uri: 'channels/channel1/dial'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'Dial'
+ dialstatus: 'ANSWER'
+ application: 'testsuite'
+ peer:
+ id: 'channel1'
+ state: 'Up'
+ count: 1
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/channel1/continue'
+ params:
+ context: 'default'
+ extension: '2000'
+ priority: 1
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelDialplan'
+ dialplan_app: 'Hangup'
+ channel:
+ id: 'channel1'
+ count: 1
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 99
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'delete'
+ uri: 'channels/channel1'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 32
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ stop_test:
+
+properties:
+ minversion: '14.0.0'
+ dependencies:
+ - python: 'autobahn.websocket'
+ - python: 'requests'
+ - python: 'twisted'
+ - python: 'starpy'
+ - asterisk: 'res_ari_channels'
+ tags:
+ - ARI
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/nominal/tests.yaml b/tests/rest_api/channels/create_dial_bridge/dial/nominal/tests.yaml
new file mode 100644
index 0000000..b2ec086
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/nominal/tests.yaml
@@ -0,0 +1,3 @@
+tests:
+ - test: 'basic'
+ - test: 'continue'
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/configs/ast1/extensions.conf b/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/configs/ast1/extensions.conf
new file mode 100644
index 0000000..c1c373f
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/configs/ast1/extensions.conf
@@ -0,0 +1,6 @@
+[default]
+
+exten => s,1,NoOp()
+ same => n,Ringing()
+ same => n,Wait(3)
+
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml b/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml
new file mode 100644
index 0000000..4a624cc
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/off-nominal/test-config.yaml
@@ -0,0 +1,154 @@
+testinfo:
+ summary: 'Test invalid operations on channels/create then dial.'
+ description: |
+ * Create channel 1 using channels/create with endpoint = Local/s at default
+ * Do a get to make sure it's actually there
+ * Dial the channel
+ * Wait for ringing
+ * Run the invalid operations
+ * Delete the channel
+ * Wait for our ChannelHangupRequest
+ * Stop.
+
+test-modules:
+ test-object:
+ config-section: 'test-object-config'
+ typename: 'ari.AriBaseTestObject'
+ modules:
+ - config-section: 'pluggable-config'
+ typename: 'pluggable_modules.EventActionModule'
+
+test-object-config:
+ apps: 'testsuite'
+ reactor-timeout: 30
+ stop-on-end: False
+
+pluggable-config:
+ - ari-start:
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/create'
+ params:
+ endpoint: 'Local/s at default'
+ app: 'testsuite'
+ channelId: 'channel1'
+ expect: 200
+
+ - ari-events:
+ match:
+ type: 'StasisStart'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'get'
+ uri: 'channels/channel1'
+ expect: 200
+
+ - method: 'post'
+ uri: 'channels/channel1/dial'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'Dial'
+ dialstatus: 'RINGING'
+ application: 'testsuite'
+ peer:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'post'
+ uri: 'channels/channel1/continue'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/redirect'
+ params:
+ endpoint: 'doesnt_matter'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/answer'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/dtmf'
+ params:
+ dtmf: '12345'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/ring'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/ring'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/mute'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/mute'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/hold'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/hold'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/moh'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/moh'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/silence'
+ expect: 412
+ - method: 'delete'
+ uri: 'channels/channel1/silence'
+ expect: 412
+ - method: 'post'
+ uri: 'channels/channel1/play'
+ params:
+ media: 'sound:silence/1'
+ expect: 412
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 0
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ ari-requests:
+ - method: 'delete'
+ uri: 'channels/channel1'
+ expect: 204
+
+ - ari-events:
+ match:
+ type: 'ChannelHangupRequest'
+ cause: 32
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+
+ - ari-events:
+ match:
+ type: 'StasisEnd'
+ application: 'testsuite'
+ channel:
+ id: 'channel1'
+ count: 1
+ stop_test:
+
+properties:
+ minversion: '14.0.0'
+ dependencies:
+ - python: 'autobahn.websocket'
+ - python: 'requests'
+ - python: 'twisted'
+ - python: 'starpy'
+ - asterisk: 'res_ari_channels'
+ tags:
+ - ARI
diff --git a/tests/rest_api/channels/create_dial_bridge/dial/tests.yaml b/tests/rest_api/channels/create_dial_bridge/dial/tests.yaml
new file mode 100644
index 0000000..cd3091b
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/dial/tests.yaml
@@ -0,0 +1,3 @@
+tests:
+ - dir: 'nominal'
+ - test: 'off-nominal'
diff --git a/tests/rest_api/channels/create_dial_bridge/tests.yaml b/tests/rest_api/channels/create_dial_bridge/tests.yaml
new file mode 100644
index 0000000..f9fcda8
--- /dev/null
+++ b/tests/rest_api/channels/create_dial_bridge/tests.yaml
@@ -0,0 +1,4 @@
+tests:
+ - dir: 'bridge'
+ - dir: 'create'
+ - dir: 'dial'
diff --git a/tests/rest_api/channels/tests.yaml b/tests/rest_api/channels/tests.yaml
index 267cc51..96ac922 100644
--- a/tests/rest_api/channels/tests.yaml
+++ b/tests/rest_api/channels/tests.yaml
@@ -11,5 +11,5 @@
- dir: 'redirect'
- test: 'connected_line_update'
- test: 'originate_to_dialplan'
- - test: 'create_and_dial'
+ - dir: 'create_dial_bridge'
- dir: 'hold'
--
To view, visit https://gerrit.asterisk.org/3116
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a3213635adb21dde326f98dd5f8273287217d03
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-commits
mailing list