@ -25,7 +25,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 3 ) ;
} ) ;
} ) ;
@ -38,7 +38,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 3 ) ;
} ) ;
} ) ;
@ -51,7 +51,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 3 ) ;
} ) ;
} ) ;
@ -64,7 +64,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 0 ) ;
} ) ;
} ) ;
@ -77,7 +77,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 0 ) ;
} ) ;
} ) ;
@ -90,7 +90,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 3 ) ;
} ) ;
} ) ;
@ -103,7 +103,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 0 ) ;
} ) ;
} ) ;
@ -117,7 +117,7 @@ describe('pEp Get Ongoing Message Rating Feature', () => {
} ) ;
it ( 'should return a Object' , ( ) => {
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
queue . expectSent ( { "security_token" : "0847cqi9WqqE5ZcVtA8_mDIgEmYMv14xlNAvSZW" , "method" : "outgoing_message_rating" , "params" : [ { "id" : "pEp-0" , "shortmsg" : "test" , "longmsg" : "test" , "from" : { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security" ,"fpr" : "" }, "to" : [ { "user_id" : "" , "username" : "anonymous" , "address" : "cfg@pep.security ", "fpr" : " "} ] , "dir" : 1 , "enc_format" : 3 , "attachments" : [ ] , "opt_fields" : [ ] } , "0" ] , "id" : 1 , "jsonrpc" : "2.0" } ) ;
return result . should . become ( 3 ) ;
} ) ;
} ) ;