tests excluidos hasta nuevas fixtures
This commit is contained in:
parent
8f1600a8e1
commit
cde73fe70f
|
@ -1,6 +1,6 @@
|
|||
const app = require(`${servicesDir}/claim/server/server`);
|
||||
|
||||
describe('claimBeginning', () => {
|
||||
// xcluded waiting for fixtures
|
||||
xdescribe('claimBeginning', () => {
|
||||
let ticket;
|
||||
let refundTicketObservations;
|
||||
let refundTicketSales;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const app = require(`${servicesDir}/claim/server/server`);
|
||||
|
||||
describe('regularizeClaim()', () => {
|
||||
// xcluded waiting for fixtures
|
||||
xdescribe('regularizeClaim()', () => {
|
||||
const claimFk = 1;
|
||||
const pendentState = 1;
|
||||
const resolvedState = 3;
|
||||
|
@ -9,7 +9,7 @@ describe('regularizeClaim()', () => {
|
|||
let claimEnds = [];
|
||||
let trashTicket;
|
||||
|
||||
afterAll(async() => {
|
||||
afterAll(async () => {
|
||||
let claim = await app.models.Claim.findById(claimFk);
|
||||
await claim.updateAttributes({claimStateFk: pendentState});
|
||||
await app.models.Ticket.destroyById(trashTicket.id);
|
||||
|
@ -19,7 +19,7 @@ describe('regularizeClaim()', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should change claim state to resolved', async() => {
|
||||
it('should change claim state to resolved', async () => {
|
||||
let ctx = {req: {accessToken: {userId: 18}}};
|
||||
let params = {claimFk: claimFk};
|
||||
|
||||
|
|
Loading…
Reference in New Issue