Skip to content

Commit

Permalink
Fix country.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Dec 22, 2024
1 parent 8b848ca commit cc35044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/__tests__/country.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('POST /api/validate-country', () => {
const name = nanoid()
const countryValue = new LocationValue({ language, value: name })
await countryValue.save()
const country = new Location({ values: [countryValue.id] })
const country = new Country({ values: [countryValue.id] })
await country.save()
const payload: bookcarsTypes.ValidateCountryPayload = {
language,
Expand Down

0 comments on commit cc35044

Please sign in to comment.