Skip to content

Commit

Permalink
Fix integration stock satisfaction test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Feb 26, 2024
1 parent f89ac05 commit 8c9c5c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/integration/stock/satisfication.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
/* global expect, agent */

const moment = require('moment');
const helpers = require('../helpers');

const today = new Date();

describe('test/integration/stock Test the stock satisfaction rate REST API', () => {

it('GET /stock/satisfication_rate', () => {
const options = {
dateFrom : '2023-01-01T00:00:00.000Z',
dateTo : '2023-12-31T00:00:00.000Z',
dateFrom : moment(today).subtract(366, 'days').toDate(),
dateTo : moment(today).subtract(1, 'days').toDate(),
depotUuids : [
'F9CAEB16168443C5A6C447DBAC1DF296',
'D4BB1452E4FA4742A281814140246877',
Expand Down

0 comments on commit 8c9c5c2

Please sign in to comment.