mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix backend tests by fixing US location
This commit is contained in:
parent
e7c76c1622
commit
44cf8c6b65
@ -235,9 +235,9 @@ describe('UpdateUser', () => {
|
||||
})
|
||||
|
||||
it('supports updating location', async () => {
|
||||
variables = { ...variables, locationName: 'Hamburg, New Jersey, United States of America' }
|
||||
variables = { ...variables, locationName: 'Hamburg, New Jersey, United States' }
|
||||
await expect(mutate({ mutation: updateUserMutation, variables })).resolves.toMatchObject({
|
||||
data: { UpdateUser: { locationName: 'Hamburg, New Jersey, United States of America' } },
|
||||
data: { UpdateUser: { locationName: 'Hamburg, New Jersey, United States' } },
|
||||
errors: undefined,
|
||||
})
|
||||
})
|
||||
|
||||
@ -51,8 +51,8 @@ const newlyCreatedNodesWithLocales = [
|
||||
country: {
|
||||
id: expect.stringContaining('country'),
|
||||
type: 'country',
|
||||
name: 'United States of America',
|
||||
nameEN: 'United States of America',
|
||||
name: 'United States',
|
||||
nameEN: 'United States',
|
||||
nameDE: 'Vereinigte Staaten',
|
||||
namePT: 'Estados Unidos',
|
||||
nameES: 'Estados Unidos',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user