test(tours): follow the ski tour changes in the tests

The collection tour fixture no longer writes the dropped winter_activity
column, the drafts are saved as version 11, and a hike no longer offers
the pistes layer, which belongs to a ski track only.
This commit is contained in:
Maurice
2026-10-20 19:07:12 +02:00
parent 57f0e2f263
commit 7291555e95
5 changed files with 7 additions and 9 deletions
@@ -116,7 +116,7 @@ describe('useTourPlanner, bike tours (BIK-01)', () => {
await settle();
act(() => result.current.setBikeProfile('road'));
expect(JSON.parse(localStorage.getItem('tour-draft-52') || 'null')).toMatchObject({
version: 10,
version: 11,
tourType: 'bike',
bikeProfile: 'road',
});
@@ -1618,7 +1618,7 @@ describe('useTourPlanner', () => {
expect(result.current.mode).toEqual({ type: 'new-draft' })
expect(JSON.parse(localStorage.getItem('tour-draft-23') || 'null')).toMatchObject({
version: 10,
version: 11,
tourType: 'hike',
name: '',
waypoints: [],