Skip to content

Commit

Permalink
Update tests/api.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kayode Ezike <[email protected]>
  • Loading branch information
2 people authored and mattcollier committed Dec 4, 2023
1 parent 1bc8e0a commit f6fad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ describe('OpenCred API - Native Workflow', function() {
);
const verifyUtilsStub = sinon.stub(verifyUtils, 'verifyPresentationJWT')
.resolves({verified: true});
const updateStub = sinon.stub(exchanges, 'updateOne');
const updateStub = sinon.stub(exchanges, 'updateOne').resolves();
const response = await request(app)
.post(`/workflows/${testRP.workflow.id}/exchanges/${exchange.id}/` +
'openid/client/authorization/response')
Expand Down

0 comments on commit f6fad63

Please sign in to comment.