Skip to content

Commit 9c06876

Browse files
committed
test: adapt existing test models to the new link response
1 parent 83785f2 commit 9c06876

File tree

1 file changed

+6
-0
lines changed
  • owncloudTestUtil/src/main/java/com/owncloud/android/testutil

1 file changed

+6
-0
lines changed

owncloudTestUtil/src/main/java/com/owncloud/android/testutil/OCSpace.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ val SPACE_RESPONSE =
323323
grantedToV2 = GrantedToV2Response(UserResponse(id = OC_USER_ID, displayName = OC_USER_INFO.displayName), null),
324324
id = null,
325325
roles = listOf("manager"),
326+
createDateTime = null,
327+
hasPassword = null,
328+
link = null,
326329
)
327330
)
328331
),
@@ -348,6 +351,9 @@ val SPACE_PERMISSIONS_RESPONSE = SpacePermissionsResponse(
348351
grantedToV2 = GrantedToV2Response(UserResponse(id = OC_USER_ID, displayName = OC_USER_INFO.displayName), null),
349352
id = "u:$OC_USER_ID",
350353
roles = listOf("312c0871-5ef7-4b3a-85b6-0e4074c64049"),
354+
createDateTime = null,
355+
hasPassword = null,
356+
link = null
351357
),
352358
)
353359
)

0 commit comments

Comments
 (0)