chore(tests): fix tests

This commit is contained in:
Gregor Kleen 2019-08-19 16:21:32 +02:00
parent c759364ab1
commit 81a534139c
3 changed files with 7 additions and 0 deletions

View File

@ -152,6 +152,7 @@ deriving instance Generic MaterialR
deriving instance Generic TutorialR
deriving instance Generic ExamR
deriving instance Generic CourseApplicationR
deriving instance Generic AllocationR
deriving instance Generic (Route UniWorX)
-- | Convenient Type Synonyms:

View File

@ -12,6 +12,8 @@ import Utils.Lens
import Handler.Utils.Form
{-# ANN module ("HLint: ignore Use newtype instead of data"::String) #-}
data AllocationRegisterForm = AllocationRegisterForm
{ arfTotalCourses :: Natural

View File

@ -52,6 +52,10 @@ instance Arbitrary CourseApplicationR where
arbitrary = genericArbitrary
shrink = genericShrink
instance Arbitrary AllocationR where
arbitrary = genericArbitrary
shrink = genericShrink
instance Arbitrary (Route UniWorX) where
arbitrary = genericArbitrary
shrink = genericShrink