Skip to content

Commit 9780ab6

Browse files
Mohit TejaniMohit Tejani
authored andcommitted
test(titanium-dist) to have correct category check for subscription change.
1 parent 2e70bcc commit 9780ab6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎test/dist/web-titanium.test.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ describe('#distribution test (titanium)', function () {
163163
// this is expected due to async nature of the reconnect()
164164
return;
165165
}
166-
expect(st.category).to.be.equal('PNDisconnectedCategory');
166+
// This unsibscribe operation triggers a subscription changed event
167+
expect(st.category).to.be.equal('PNSubscriptionChangedCategory');
167168
if (!finished) {
168169
// prevent calling done twice
169170
finished = true;

0 commit comments

Comments
 (0)