allow to edit tags in admin panel, fix #170

This commit is contained in:
lesion
2022-12-13 15:41:39 +01:00
parent 854bd6538a
commit 4463c75536
9 changed files with 194 additions and 6 deletions

View File

@@ -285,10 +285,10 @@ describe('Place', () => {
})
test('admin should get all places', async () => {
await request(app).get('/api/place/all')
await request(app).get('/api/places')
.expect(403)
const response = await request(app).get('/api/place/all')
const response = await request(app).get('/api/places')
.auth(token.access_token, { type: 'bearer' })
.expect(200)