refs #6264 test: remove force describe for dms test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
397eb4d32b
commit
d0af29c0c5
|
@ -1,6 +1,6 @@
|
|||
const {models} = require('vn-loopback/server/server');
|
||||
|
||||
fdescribe('dms removeFile()', () => {
|
||||
describe('dms removeFile()', () => {
|
||||
let dmsId = 1;
|
||||
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
|
||||
// f
|
||||
fdescribe('TicketDms removeFile()', () => {
|
||||
describe('TicketDms removeFile()', () => {
|
||||
const ticketDmsId = 1;
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
let clientId = 1101;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const models = require('vn-loopback/server/server').models;
|
||||
|
||||
// f
|
||||
fdescribe('ClientDms removeFile()', () => {
|
||||
describe('ClientDms removeFile()', () => {
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
const tx = await models.Client.beginTransaction({});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const models = require('vn-loopback/server/server').models;
|
||||
|
||||
fdescribe('TicketDms removeFile()', () => {
|
||||
describe('TicketDms removeFile()', () => {
|
||||
const ticketDmsId = 1;
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
const tx = await models.TicketDms.beginTransaction({});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const models = require('vn-loopback/server/server').models;
|
||||
// f
|
||||
fdescribe('Ticket uploadFile()', () => {
|
||||
describe('Ticket uploadFile()', () => {
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
const tx = await models.Ticket.beginTransaction({});
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
|
||||
// f
|
||||
fdescribe('WorkerDms removeFile()', () => {
|
||||
describe('WorkerDms removeFile()', () => {
|
||||
const workerDmsFk = 1;
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
let clientId = 1101;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
// f
|
||||
fdescribe('Worker uploadFile()', () => {
|
||||
describe('Worker uploadFile()', () => {
|
||||
it(`should return an error for a user without enough privileges`, async() => {
|
||||
let workerId = 1106;
|
||||
let currentUserId = 1102;
|
||||
|
|
Loading…
Reference in New Issue