File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -208,14 +208,14 @@ describe('Chat API', function() {
208
208
} ) ;
209
209
} , IQ_TIMEOUT ) ;
210
210
211
- // // Remove user from contact list
212
- // //
213
- // it("can remove user from contact list", function(done) {
214
- // QB.chat.roster.remove(QBUser2.id, function() {
215
- // console.info("can remove user from contact list");
216
- // done();
217
- // });
218
- // }, IQ_TIMEOUT);
211
+ // Remove user from contact list
212
+ //
213
+ it ( "can remove user from contact list" , function ( done ) {
214
+ QB . chat . roster . remove ( QBUser2 . id , function ( ) {
215
+ console . info ( "can remove user from contact list" ) ;
216
+ done ( ) ;
217
+ } ) ;
218
+ } , IQ_TIMEOUT ) ;
219
219
220
220
// Confirm subscription request
221
221
//
@@ -226,14 +226,14 @@ describe('Chat API', function() {
226
226
} ) ;
227
227
} , IQ_TIMEOUT ) ;
228
228
229
- // // Reject subscription request
230
- // //
231
- // it("can reject subscription request", function(done) {
232
- // QB.chat.roster.reject(QBUser2.id, function() {
233
- // console.info("can reject subscription request");
234
- // done();
235
- // });
236
- // }, IQ_TIMEOUT);
229
+ // Reject subscription request
230
+ //
231
+ it ( "can reject subscription request" , function ( done ) {
232
+ QB . chat . roster . reject ( QBUser2 . id , function ( ) {
233
+ console . info ( "can reject subscription request" ) ;
234
+ done ( ) ;
235
+ } ) ;
236
+ } , IQ_TIMEOUT ) ;
237
237
} ) ;
238
238
239
239
You can’t perform that action at this time.
0 commit comments