renamed the it statement
This commit is contained in:
parent
a248f722a5
commit
9db389329d
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
|
||||
describe('message send()', () => {
|
||||
it('should call the send method and return the response', async() => {
|
||||
it('should return a response containing the same message in params', async() => {
|
||||
let ctx = {req: {accessToken: {userId: 1}}};
|
||||
let params = {
|
||||
recipientFk: 1,
|
||||
|
|
|
@ -6,7 +6,7 @@ const app = require('vn-loopback/server/server');
|
|||
* por destinatario inválido, pero puede llegar a fallar.
|
||||
*/
|
||||
describe('sms send()', () => {
|
||||
it('should call the send method', async() => {
|
||||
it('should should return the expected message and status code', async() => {
|
||||
let ctx = {req: {accessToken: {userId: 1}}};
|
||||
let result = await app.models.Sms.send(ctx, null, 'Invalid', 'My SMS Body');
|
||||
|
||||
|
|
Loading…
Reference in New Issue