2020-06-17 12:00:04 +00:00
|
|
|
const app = require('vn-loopback/server/server');
|
|
|
|
|
2022-02-28 09:46:14 +00:00
|
|
|
// #3673 sendSms tests excluded
|
|
|
|
xdescribe('sms send()', () => {
|
2022-01-11 07:39:06 +00:00
|
|
|
it('should not return status error', async() => {
|
|
|
|
const ctx = {req: {accessToken: {userId: 1}}};
|
2022-01-11 09:03:59 +00:00
|
|
|
const result = await app.models.Sms.send(ctx, 1105, '123456789', 'My SMS Body');
|
2020-06-17 12:00:04 +00:00
|
|
|
|
2022-01-11 07:39:06 +00:00
|
|
|
expect(result.status).toBeUndefined();
|
2020-06-17 12:00:04 +00:00
|
|
|
});
|
|
|
|
});
|