@@ -123,15 +123,15 @@ describe('Climb CRUD', () => {
123123 {
124124 pitchNumber : 1 ,
125125 grades : { uiaa : '7' } ,
126- type : { sport : true } ,
126+ disciplines : { sport : true } ,
127127 length : 30 ,
128128 boltsCount : 5 ,
129129 description : 'First pitch description'
130130 } ,
131131 {
132132 pitchNumber : 2 ,
133133 grades : { uiaa : '6+' } ,
134- type : { sport : true } ,
134+ disciplines : { sport : true } ,
135135 length : 40 ,
136136 boltsCount : 6 ,
137137 description : 'Second pitch description'
@@ -653,7 +653,7 @@ describe('Climb CRUD', () => {
653653 parentId : originalPitch1ParentID ,
654654 pitchNumber : 1 ,
655655 grades : { ewbank : '19' } ,
656- type : { sport : false , alpine : true } ,
656+ disciplines : { sport : false , alpine : true } ,
657657 length : 20 ,
658658 boltsCount : 6 ,
659659 description : 'Updated first pitch description'
@@ -664,7 +664,7 @@ describe('Climb CRUD', () => {
664664 parentId : originalPitch2ParentID ,
665665 pitchNumber : 2 ,
666666 grades : { ewbank : '18' } ,
667- type : { sport : false , alpine : true } ,
667+ disciplines : { sport : false , alpine : true } ,
668668 length : 25 ,
669669 boltsCount : 5 ,
670670 description : 'Updated second pitch description'
0 commit comments