Skip to content

Commit

Permalink
Update user.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Nov 17, 2024
1 parent 90f3fbf commit 1d49435
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/tests/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,11 @@ describe('POST /api/create-user', () => {
if (!await helper.exists(contractFile)) {
await fs.copyFile(CONTRACT1_PATH, contractFile)
}
const contracts = [{ language: 'en', file: contractFileName }]
const contracts = [
{ language: 'en', file: contractFileName },
{ language: 'fr', file: null },
{ language: 'es', file: `${nanoid()}.pdf` },
]

let payload: bookcarsTypes.CreateUserPayload = {
email: USER2_EMAIL,
Expand Down

0 comments on commit 1d49435

Please sign in to comment.