chore: fix tests

This commit is contained in:
Gregor Kleen 2022-04-21 11:57:42 +02:00
parent 253c6cdd9a
commit 0d0584587b

View File

@ -47,6 +47,9 @@ instance (Arbitrary fileid, Arbitrary userid, Typeable fileid, Typeable userid,
instance Arbitrary WorkflowPayloadTextPreset where
arbitrary = genericArbitrary
shrink = genericShrink
instance Arbitrary WorkflowPayloadTextType where
arbitrary = genericArbitrary
shrink = genericShrink
instance Arbitrary (WorkflowPayloadField fileid userid Text) where
arbitrary = WorkflowPayloadFieldText
<$> scale (`div` 2) arbitrary