chore(): fix tests with new api error codes

This commit is contained in:
Tiago Siebler
2023-08-29 11:17:31 +01:00
parent 27871bbfd9
commit 49b739fa5c
4 changed files with 13 additions and 7 deletions

View File

@@ -118,7 +118,7 @@ describe('Private Broker REST API POST Endpoints', () => {
).toMatchObject(sucessEmptyResponseObject());
} catch (e) {
expect(e.body).toMatchObject({
code: '40017',
code: API_ERROR_CODE.PASSPHRASE_CANNOT_BE_EMPTY,
});
}
});