removed third party endpoint test
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
1086d3d362
commit
c46797d57e
|
@ -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');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue