mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
8b2e7baacd
Converts the raw prepare() fixtures and reads in the trip read model service spec and the share token and audit log repository specs to the ORM factories and readers. The trip read model spec drops the raw canAccessTrip and isOwner it still put on the database mock; nothing has read them since trip access moved onto the repositories. The share token spec now inserts through makeShareToken and reads what a write left behind through findRow, keeping the SELECT * row and the legacy statements it is held to as allowed oracles. The audit log spec keeps the raw row and the typeof() storage class probe behind allow markers, since both are about what SQLite stores.