unit test for recurrent events

This commit is contained in:
lesion
2023-03-28 18:55:57 +02:00
parent 3e81d1dfb3
commit f5604a03bc
2 changed files with 184 additions and 5 deletions

View File

@@ -419,11 +419,6 @@ describe('Collection', () => {
describe('Geocoding', () => {
test('should not be enabled by default', async () => {
await request(app)
.post('/api/settings')
.send({ key: 'allow_geolocation', value: false })
.auth(token.access_token, { type: 'bearer' })
.expect(200)
const response = await request(app).get('/api/placeOSM/Nominatim/test')
.expect(403)