included sms test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-03-17 08:13:18 +01:00
parent 16be66286e
commit a9b6dcacfe
3 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,7 @@
const models = require('vn-loopback/server/server').models;
const soap = require('soap');
// #3673 sendSms tests excluded
xdescribe('client sendSms()', () => {
describe('client sendSms()', () => {
it('should now send a message and log it', async() => {
spyOn(soap, 'createClientAsync').and.returnValue('a so fake client');
const tx = await models.Client.beginTransaction({});

View File

@ -1,7 +1,6 @@
const app = require('vn-loopback/server/server');
// #3673 sendSms tests excluded
xdescribe('sms send()', () => {
describe('sms send()', () => {
it('should not return status error', async() => {
const ctx = {req: {accessToken: {userId: 1}}};
const result = await app.models.Sms.send(ctx, 1105, '123456789', 'My SMS Body');

View File

@ -1,8 +1,7 @@
const models = require('vn-loopback/server/server').models;
const soap = require('soap');
// #3673 sendSms tests excluded
xdescribe('ticket sendSms()', () => {
describe('ticket sendSms()', () => {
it('should send a message and log it', async() => {
const tx = await models.Ticket.beginTransaction({});