Skip to content

Commit

Permalink
fix: fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkparti committed Aug 22, 2023
1 parent de88150 commit 6da04be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/handlers/trustHandler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('trustRouter', () => {
requestee_wallet: walletId,
});

expect(res).property('statusCode').eq(200);
expect(res).property('statusCode').eq(201);
expect(
createTrustRelationshipStub.calledOnceWithExactly({
walletLoginId: authenticatedWalletId,
Expand Down
2 changes: 1 addition & 1 deletion server/handlers/walletHandler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ describe('walletRouter', () => {
const res = await request(app).post('/wallets').send({
wallet: mockWallet.wallet,
});
expect(res).property('statusCode').eq(200);
expect(res).property('statusCode').eq(201);
expect(res.body.wallet).eq(mockWallet.wallet);
expect(res.body.id).eq(mockWallet.id);
expect(
Expand Down

0 comments on commit 6da04be

Please sign in to comment.