mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 17:41:51 +00:00
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:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user