File tree Expand file tree Collapse file tree
library/src/androidTest/java/com/owncloud/android/lib/resources/shares Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ class CreateShareRemoteOperationIT : AbstractIT() {
3232
3333 @Test
3434 fun createShareWithNoteAndAttributes () {
35- val attributes = ShareAttributesJsonHandler .toJson(
36- listOf (ShareAttributes .createDownloadAttributes(true ))
37- )
35+ val attributes =
36+ ShareAttributesJsonHandler .toJson(
37+ listOf (ShareAttributes .createDownloadAttributes(true ))
38+ )
3839 val note = " Note with attributes"
3940 val path = " /shareWithAttributes/"
4041
@@ -63,17 +64,18 @@ class CreateShareRemoteOperationIT : AbstractIT() {
6364 note : String ,
6465 attributes : String? = null
6566 ): OCShare {
66- val operation = CreateShareRemoteOperation (
67- path,
68- ShareType .USER ,
69- accountName,
70- false ,
71- " " ,
72- OCShare .MAXIMUM_PERMISSIONS_FOR_FOLDER ,
73- true ,
74- note,
75- attributes
76- )
67+ val operation =
68+ CreateShareRemoteOperation (
69+ path,
70+ ShareType .USER ,
71+ accountName,
72+ false ,
73+ " " ,
74+ OCShare .MAXIMUM_PERMISSIONS_FOR_FOLDER ,
75+ true ,
76+ note,
77+ attributes
78+ )
7779 val result = operation.execute(client)
7880 assertTrue(result.isSuccess)
7981 return result.resultData[0 ]
You can’t perform that action at this time.
0 commit comments