- have blank lines between it in backend tests

This commit is contained in:
Ulf Gebhardt 2021-02-02 02:51:59 +01:00
parent ad509c8818
commit 0597cead6a
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -105,6 +105,7 @@ describe('Location Service', () => {
})
authenticatedUser = await user.toJson()
})
it('query Location existing', async () => {
variables = {
place: 'Berlin',
@ -119,6 +120,7 @@ describe('Location Service', () => {
{ id: 'place.4035845612564380', place_name: 'Berlin Township, New Jersey, United States' },
])
})
it('query Location existing in different language', async () => {
variables = {
place: 'Berlin',
@ -133,6 +135,7 @@ describe('Location Service', () => {
{ id: 'place.1165756679564380', place_name: 'Berlin, Massachusetts, Vereinigte Staaten' },
])
})
it('query Location not existing', async () => {
variables = {
place: 'GbHtsd4sdHa',
@ -141,6 +144,7 @@ describe('Location Service', () => {
const result = await query({ query: queryLocations, variables })
expect(result.data.queryLocations).toEqual([])
})
it('query Location without a place name given', async () => {
variables = {
place: '',