1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3244 App | Tech | Fix failing tests

This commit is contained in:
Evgenii Kozlov 2025-04-02 19:00:08 +02:00
parent 7c74976d1a
commit c8900f3971

View file

@ -107,7 +107,14 @@ class MiddlewareTest {
details = mapOf<String, Any?>(),
templateId = templateId,
objectTypeUniqueKey = typeKey.key,
spaceId = spaceId
spaceId = spaceId,
block = Block(
link = Block.Content.Link(
style = Block.Content.Link.Style.Page,
cardStyle = Block.Content.Link.CardStyle.Card,
iconSize = Block.Content.Link.IconSize.SizeSmall
)
)
)
service.stub {
@ -164,7 +171,14 @@ class MiddlewareTest {
position = Block.Position.Inner,
details = buildMap { put(Relations.NAME, name) },
objectTypeUniqueKey = typeKey.key,
spaceId = spaceId
spaceId = spaceId,
block = Block(
link = Block.Content.Link(
style = Block.Content.Link.Style.Page,
cardStyle = Block.Content.Link.CardStyle.Card,
iconSize = Block.Content.Link.IconSize.SizeSmall
)
)
)
service.stub {