fix: increase size of test instances again (oops)
This commit is contained in:
parent
a559ac74cb
commit
4e76fe7e50
@ -158,7 +158,7 @@ spec = do
|
|||||||
-- | generate users without any pre-assigned rooms
|
-- | generate users without any pre-assigned rooms
|
||||||
genUsersWithOccurrences :: Preselection -> Gen (Map UserId (User, Maybe ExamOccurrenceId), Map ExamOccurrenceId Natural)
|
genUsersWithOccurrences :: Preselection -> Gen (Map UserId (User, Maybe ExamOccurrenceId), Map ExamOccurrenceId Natural)
|
||||||
genUsersWithOccurrences preselection = do
|
genUsersWithOccurrences preselection = do
|
||||||
rawUsers <- scale (1 *) $ listOf $ Entity <$> arbitrary <*> arbitrary
|
rawUsers <- scale (50 *) $ listOf $ Entity <$> arbitrary <*> arbitrary
|
||||||
occurrences <- genOccurrences $ length rawUsers
|
occurrences <- genOccurrences $ length rawUsers
|
||||||
-- user surnames anpassen, sodass interessante instanz
|
-- user surnames anpassen, sodass interessante instanz
|
||||||
users <- fmap Map.fromList $ forM rawUsers $ \Entity {entityKey, entityVal} -> do
|
users <- fmap Map.fromList $ forM rawUsers $ \Entity {entityKey, entityVal} -> do
|
||||||
|
|||||||
Reference in New Issue
Block a user