test(user): add new field to fix build
This commit is contained in:
parent
8417eb57c9
commit
188f101eed
@ -130,8 +130,10 @@ instance Arbitrary User where
|
||||
userShowSex <- arbitrary
|
||||
userMobile <- fmap pack . assertM' (not . null) <$> listOf (elements $ [' ', '+', '-', '/', '_'] ++ ['0'..'9'])
|
||||
userTelephone <- fmap pack . assertM' (not . null) <$> listOf (elements $ [' ', '+', '-', '/', '_'] ++ ['0'..'9'])
|
||||
userCompanyPersonalNumber <- fmap pack . assertM' (not . null) <$> listOf (elements ['0'..'9'])
|
||||
userCompanyPersonalNumber <- fmap pack . assertM' (not . null) <$> listOf (elements ['0'..'9'])
|
||||
userCompanyDepartment <- arbitrary
|
||||
userPostAddress <- arbitrary -- TODO: not a good address
|
||||
userPrefersPostal <- arbitrary
|
||||
userExamOfficeGetSynced <- arbitrary
|
||||
userExamOfficeGetLabels <- arbitrary
|
||||
|
||||
|
||||
@ -49,3 +49,5 @@ fakeUser adjUser = adjUser User{..}
|
||||
userTelephone = Nothing
|
||||
userCompanyPersonalNumber = Nothing
|
||||
userCompanyDepartment = Nothing
|
||||
userPostAddress = Nothing
|
||||
userPrefersPostal = False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user