undo skipped tests, only allow API calls for admin-views, refactor viewer-page to use page.server

This commit is contained in:
2025-11-03 14:21:08 +01:00
parent a9e3d8264c
commit 3c16bc89e5
9 changed files with 61 additions and 38 deletions

View File

@@ -31,7 +31,7 @@ const MockEvent = {
};
describe('API-Endpoints: list/[vorgang]', () => {
test.skip('Unerlaubter Zugriff', async () => {
test('Unerlaubter Zugriff', async () => {
const event = {
locals: {
user: null