Created
May 8, 2024 10:29
-
-
Save MkhytarMkhoian/f3b3aee40f974f42e0cf620ff7c03313 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun randomCategory(children: List<Category> = emptyList()) = Category( | |
categoryId = CategoryId(faker.number().randomDigitNotZero().toLong()), | |
postingType = Category.PostingType.DEFAULT, | |
feedType = Category.FeedType.DEFAULT, | |
panelType = Category.PanelType.CATEGORY, | |
adsCount = faker.number().randomDigitNotZero(), | |
children = children, | |
name = faker.name().name(), | |
iconImage = faker.name().fullName(), | |
image = null, | |
searchNames = emptyList() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment