chore: fix tests

This commit is contained in:
Gregor Kleen 2021-06-16 23:15:01 +02:00
parent 595dfdb8d3
commit 1e6f6e4296

View File

@ -220,7 +220,7 @@ courseParticipantForm courses csrf = do
)
let linesWidget = Map.intersectionWith (,) courses lines'
& Map.elems
& sortBy (comparing . view $ _1 . _1)
& sortOn (view $ _1 . _1)
& view (folded . _2 . _2)
return ( forM lines' $ view _1
, $(widgetFile "allocation/user-course-participant-form/layout")