Skip to content

Commit

Permalink
test tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Jan 31, 2020
1 parent f0c9849 commit 4c5a0c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion microservices/requestApi/test/v1/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ describe("Requests", function() {
.get('/v1?limit=1&page=1&name=testName')
.set("Authorization", "Bearer " + jwt)
.end(function (err, res) {
console.log("SHOULD GET REQUEST body", res.body);
res.should.have.status(200);
res.body.length.should.be.eql(1);
done();
Expand Down
3 changes: 2 additions & 1 deletion microservices/requestApi/test/v2/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,10 @@ describe("Requests", function() {
describe('/GET v2 & v2/requestId', function () {
it('it should get requests', function (done) {
chai.request(server)
.get('/v2?limit=1&page=1&name=testName&start_date=2000/01/01/00/00/00&end_date=9999/01/01/00/00/00')
.get('/v2?limit=1&page=1')
.set("Authorization", "Bearer " + jwt)
.end(function (err, res) {
console.log("v2 should get requests body", res.body);
res.should.have.status(200);
res.body.length.should.be.eql(1);
done();
Expand Down

0 comments on commit 4c5a0c8

Please sign in to comment.