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() {
208208 } ) ;
209209 } , IQ_TIMEOUT ) ;
210210
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 ) ;
219219
220220 // Confirm subscription request
221221 //
@@ -226,14 +226,14 @@ describe('Chat API', function() {
226226 } ) ;
227227 } , IQ_TIMEOUT ) ;
228228
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 ) ;
237237 } ) ;
238238
239239
You can’t perform that action at this time.
0 commit comments