Skip to content

Commit

Permalink
fix (Travis test failed): due to invalid seeded return date
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Nov 19, 2017
1 parent a5ba283 commit 01b2780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/test/userbooks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let bookId;
let zerobookId;
let testbookId;
let token;
const testdate = new Date('2017-11-18');
const testdate = new Date('2018-11-18');
const nulluserId = '';


Expand Down Expand Up @@ -196,7 +196,7 @@ describe('HelloBooks', () => {
done();
});
});
it('should not be able to borrow book with previous route', (done) => {
it('should not be able to borrow book with previous functioning route', (done) => {
const userbook = {
bookId: bookId.toString(),
returndate: testdate
Expand Down

0 comments on commit 01b2780

Please sign in to comment.