refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork

This commit is contained in:
jubnl
2026-09-21 20:48:03 +02:00
parent 27d044f9e8
commit 0cf99a9939
306 changed files with 3656 additions and 3189 deletions
@@ -431,8 +431,8 @@ describe('a secret the adapter earned itself', () => {
});
describe('reading the trip state', () => {
it('asks the reconciler with a number, because the path hands the handler a string', () => {
controller.status(String(tripId));
it('asks the reconciler with a number, because the path hands the handler a string', async () => {
await controller.status(String(tripId));
expect(sync.status).toHaveBeenCalledWith(tripId);
});
});