We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8575211 commit c1107f8Copy full SHA for c1107f8
src/routes/milestones/create.spec.js
@@ -344,21 +344,6 @@ describe('CREATE milestone', () => {
344
.expect(400, done);
345
});
346
347
- it('should return 400 if startDate is before the timeline startDate', (done) => {
348
- const invalidBody = _.assign({}, body, {
349
- startDate: '2018-05-01T00:00:00.000Z',
350
- });
351
-
352
- request(server)
353
- .post('/v5/timelines/1/milestones')
354
- .set({
355
- Authorization: `Bearer ${testUtil.jwts.admin}`,
356
- })
357
- .send(invalidBody)
358
- .expect('Content-Type', /json/)
359
- .expect(400, done);
360
361
362
it('should return 400 if invalid timelineId param', (done) => {
363
request(server)
364
.post('/v5/timelines/0/milestones')
0 commit comments