- it('Should fail to list all-local with a simple user', async function () {
- await testEndpoints(server, userAccessToken, 'all-local', 401)
+ it('Should fail to list all-local/all with a simple user', async function () {
+ await testEndpoints(server, userAccessToken, 'all-local', HttpStatusCode.UNAUTHORIZED_401)
+ await testEndpoints(server, userAccessToken, 'all', HttpStatusCode.UNAUTHORIZED_401)