Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Aug 15, 2017
1 parent 964be75 commit d9b6524
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloud/wfm-rest-api/test/ApiControllerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ describe('FeedHenry ApiController Tests', function() {
});

it('verify put middleware success', function() {
return expect(testSubject.putHandler({ body: testObj } as Request)).to.eventually.equal(testObj);
const request = { params: { id: 1 }, body: testObj };
return expect(testSubject.putHandler(request as Request)).to.eventually.equal(testObj);
});

it('verify delete middleware success', function() {
Expand Down

0 comments on commit d9b6524

Please sign in to comment.