mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
b8c9184dff
The backup, boot-restore and bootstrap tests stopped hand-writing their stand-in tools and use tests/helpers/fake-pg-tools.ts, so one definition of what a stand-in logs and answers covers all four files. The assertions about adapter behaviour are unchanged. PGBACKUP-002's refusals become it.each, each keeping its own message check: a missing archive keeps its exact status test (PGBACKUP-002a), and the accepted dump is PGBACKUP-002. Five refusals are covered in all: missing, SQLite, newer, no history, and not a dump; the prompt counted six. boot-restore hands its tables to the psql stand-in directly rather than through a file the test writes after the plan is built. The bootstrap test moves its Logger spy into beforeEach.