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
|
userShowSex <- arbitrary
|
||||||
userMobile <- fmap pack . assertM' (not . null) <$> listOf (elements $ [' ', '+', '-', '/', '_'] ++ ['0'..'9'])
|
userMobile <- fmap pack . assertM' (not . null) <$> listOf (elements $ [' ', '+', '-', '/', '_'] ++ ['0'..'9'])
|
||||||
userTelephone <- 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
|
userCompanyDepartment <- arbitrary
|
||||||
|
userPostAddress <- arbitrary -- TODO: not a good address
|
||||||
|
userPrefersPostal <- arbitrary
|
||||||
userExamOfficeGetSynced <- arbitrary
|
userExamOfficeGetSynced <- arbitrary
|
||||||
userExamOfficeGetLabels <- arbitrary
|
userExamOfficeGetLabels <- arbitrary
|
||||||
|
|
||||||
|
|||||||
@ -49,3 +49,5 @@ fakeUser adjUser = adjUser User{..}
|
|||||||
userTelephone = Nothing
|
userTelephone = Nothing
|
||||||
userCompanyPersonalNumber = Nothing
|
userCompanyPersonalNumber = Nothing
|
||||||
userCompanyDepartment = Nothing
|
userCompanyDepartment = Nothing
|
||||||
|
userPostAddress = Nothing
|
||||||
|
userPrefersPostal = False
|
||||||
|
|||||||
Reference in New Issue
Block a user