chore(test): type of examOccurrenceCapacity changed
This commit is contained in:
parent
292f5cf91b
commit
b36a15c0b2
@ -168,7 +168,7 @@ spec = do
|
||||
createOccurrences acc
|
||||
| sum (map snd acc) < totalSpaceRequirement = do
|
||||
Entity {entityKey, entityVal} <- Entity <$> arbitrary <*> arbitrary
|
||||
createOccurrences $ (entityKey, examOccurrenceCapacity entityVal) : acc
|
||||
createOccurrences $ (entityKey, fromIntegral $ examOccurrenceCapacity entityVal) : acc
|
||||
| otherwise = pure acc
|
||||
Map.fromList <$> createOccurrences []
|
||||
genNudge :: [(Int, Integer)] -> Map ExamOccurrenceId Integer -> ExamOccurrenceId -> Gen (Map ExamOccurrenceId Integer)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user