Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test(tours): give the packing link copy test an id of its own

Maurice4d9b84f6811e
diff --git a/server/tests/unit/db/repositories/Tours.repository.test.ts b/server/tests/unit/db/repositories/Tours.repository.test.ts
index 5dacd337a..40b09551c 100644
--- a/server/tests/unit/db/repositories/Tours.repository.test.ts
+++ b/server/tests/unit/db/repositories/Tours.repository.test.ts
@@ -676,7 +676,7 @@ describe('ToursRepository writes', () => {
expect((await repo.findProvenance(other.id, copiedPlanned.id))?.source_instance).toBeNull();
});
- it('TOURREPO-012: a trip copy takes a tour’s packing link onto its copy, and nothing for a tour that had none', async () => {
+ it('TOURREPO-025: a trip copy takes a tour’s packing link onto its copy, and nothing for a tour that had none', async () => {
const { trip, other } = fixture();
const linked = createPlace(testDb, trip.id);
await repo.insertTour({ ...METRICS, place_id: linked.id });