[Asterisk-code-review] PJSIP presence - Fix test (testsuite[master])
Daniel Journo
asteriskteam at digium.com
Mon Jun 5 09:46:05 CDT 2017
Daniel Journo has uploaded a new change for review. ( https://gerrit.asterisk.org/5756 )
Change subject: PJSIP presence - Fix test
......................................................................
PJSIP presence - Fix test
Presence notifications were incorrectly marked as CLOSED meaning
offline/unavailable when INUSE. Following the Asterisk bug fix,
this change fixes the test to match.
ASTERISK-26659
Change-Id: I9d20f37b9709862a55b162da940a849171bba344
---
M tests/channels/pjsip/subscriptions/presence/presence_pidf/state_check.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/56/5756/1
diff --git a/tests/channels/pjsip/subscriptions/presence/presence_pidf/state_check.py b/tests/channels/pjsip/subscriptions/presence/presence_pidf/state_check.py
index f51a725..15d4c0c 100644
--- a/tests/channels/pjsip/subscriptions/presence/presence_pidf/state_check.py
+++ b/tests/channels/pjsip/subscriptions/presence/presence_pidf/state_check.py
@@ -11,10 +11,10 @@
LOGGER = logging.getLogger(__name__)
states = [
- ('INUSE', 2, "On the phone"),
+ ('INUSE', 1, "On the phone"),
('ONHOLD', 2, "On hold"),
('BUSY', 2, "On the phone"),
- ('RINGING', 2, "Ringing"),
+ ('RINGING', 1, "Ringing"),
('UNAVAILABLE', 2, "Unavailable"),
('NOT_INUSE', 1, "Ready"),
('', 1, "Ready") # Final state upon subscription teardown
--
To view, visit https://gerrit.asterisk.org/5756
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d20f37b9709862a55b162da940a849171bba344
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Daniel Journo <dan at keshercommunications.com>
More information about the asterisk-code-review
mailing list