Skip to content

Commit

Permalink
fix 2 broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Feb 3, 2020
1 parent debd15d commit eb93d49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microservices/requestApi/test/v1/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ describe("Requests", function() {

it('it should fail to cancel an already cancelled request', function (done) {
chai.request(server)
.put('/v1/cancel/' + incorrectId)
.put('/v1/cancel/' + activeRequestId)
.set("Authorization", "Bearer " + jwt)
.send({})
.end(function (err, res) {
Expand Down Expand Up @@ -907,7 +907,7 @@ describe("Requests", function() {

it('it should fail to cancel an already denied request', function (done) {
chai.request(server)
.put('/v1/cancel/' + incorrectId)
.put('/v1/cancel/' + activeRequestId)
.set("Authorization", "Bearer " + jwt)
.send({})
.end(function (err, res) {
Expand Down

0 comments on commit eb93d49

Please sign in to comment.