init tags tab in admin panel

This commit is contained in:
lesion
2022-12-12 20:54:51 +01:00
parent 854bd6538a
commit 06b35b0cd0
7 changed files with 154 additions and 5 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)