chore(tests): fix tests
This commit is contained in:
parent
c759364ab1
commit
81a534139c
@ -152,6 +152,7 @@ deriving instance Generic MaterialR
|
|||||||
deriving instance Generic TutorialR
|
deriving instance Generic TutorialR
|
||||||
deriving instance Generic ExamR
|
deriving instance Generic ExamR
|
||||||
deriving instance Generic CourseApplicationR
|
deriving instance Generic CourseApplicationR
|
||||||
|
deriving instance Generic AllocationR
|
||||||
deriving instance Generic (Route UniWorX)
|
deriving instance Generic (Route UniWorX)
|
||||||
|
|
||||||
-- | Convenient Type Synonyms:
|
-- | Convenient Type Synonyms:
|
||||||
|
|||||||
@ -12,6 +12,8 @@ import Utils.Lens
|
|||||||
|
|
||||||
import Handler.Utils.Form
|
import Handler.Utils.Form
|
||||||
|
|
||||||
|
{-# ANN module ("HLint: ignore Use newtype instead of data"::String) #-}
|
||||||
|
|
||||||
|
|
||||||
data AllocationRegisterForm = AllocationRegisterForm
|
data AllocationRegisterForm = AllocationRegisterForm
|
||||||
{ arfTotalCourses :: Natural
|
{ arfTotalCourses :: Natural
|
||||||
|
|||||||
@ -52,6 +52,10 @@ instance Arbitrary CourseApplicationR where
|
|||||||
arbitrary = genericArbitrary
|
arbitrary = genericArbitrary
|
||||||
shrink = genericShrink
|
shrink = genericShrink
|
||||||
|
|
||||||
|
instance Arbitrary AllocationR where
|
||||||
|
arbitrary = genericArbitrary
|
||||||
|
shrink = genericShrink
|
||||||
|
|
||||||
instance Arbitrary (Route UniWorX) where
|
instance Arbitrary (Route UniWorX) where
|
||||||
arbitrary = genericArbitrary
|
arbitrary = genericArbitrary
|
||||||
shrink = genericShrink
|
shrink = genericShrink
|
||||||
|
|||||||
Reference in New Issue
Block a user