removed third party endpoint test
gitea/salix/dev This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-10-15 08:15:04 +02:00
parent 1086d3d362
commit c46797d57e
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
const app = require('vn-loopback/server/server');
/**
* ¡Importante!
* Envio SMS de prueba a servicio real Masmovil. No llega a enviarse
* por destinatario inválido, pero puede llegar a fallar.
*/
describe('sms send()', () => {
it('should return the expected message and status code', async() => {
let ctx = {req: {accessToken: {userId: 1}}};
let result = await app.models.Sms.send(ctx, 105, 'Invalid', 'My SMS Body');
expect(result.statusCode).toEqual(200);
expect(result.status).toEqual('Envio en procesamiento');
});
});