Skip to content

Commit

Permalink
Tests fix metadata (resolves Issues irods#22 and irods#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed May 31, 2023
1 parent f97d9ce commit cea4894
Show file tree
Hide file tree
Showing 135 changed files with 630 additions and 150 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ imeta(
"foo.rds",
"data_object",
operations =
list(operation = "add", attribute = "foo", value = "bar", units = "baz")
data.frame(operation = "add", attribute = "foo", value = "bar", units = "baz")
)
# check if file is stored with associated metadata
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ imeta(
"foo.rds",
"data_object",
operations =
list(operation = "add", attribute = "foo", value = "bar", units = "baz")
data.frame(operation = "add", attribute = "foo", value = "bar", units = "baz")
)

# check if file is stored with associated metadata
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/add-data-collections/list-88a93f.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fx&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:07 GMT", `Content-Length` = "725",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "725",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/add-data-collections/list-90a58c.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fa&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:06 GMT", `Content-Length` = "725",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "725",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/add-data-collections/list-e3f267.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fx%2Fa&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:06 GMT", `Content-Length` = "745",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "745",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/add-data-collections/list-f91c86.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:06 GMT", `Content-Length` = "844",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "844",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fx&no-trash=1&recursive=1",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:07 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:03 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fa&no-trash=1&recursive=1",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:06 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fx%2Fa&no-trash=1&recursive=1",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:07 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:02 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "POST", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fx%2Fa&collection=1&create-parent-collections=1",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:06 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:01 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "POST", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fa&collection=1&create-parent-collections=0",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:05 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:01 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
6 changes: 3 additions & 3 deletions tests/testthat/data-objects/list-0de89c.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.csv&stat=1&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:09 GMT", `Content-Length` = "895",
Date = "Wed, 31 May 2023 15:29:05 GMT", `Content-Length` = "895",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand All @@ -14,8 +14,8 @@ structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Fro
0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x22, 0x3a, 0x7b, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f,
0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
0x22, 0x3a, 0x22, 0x31, 0x36, 0x38, 0x34, 0x39, 0x31, 0x32,
0x32, 0x30, 0x39, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65,
0x22, 0x3a, 0x22, 0x31, 0x36, 0x38, 0x35, 0x35, 0x34, 0x36,
0x39, 0x34, 0x35, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65,
0x22, 0x3a, 0x32, 0x34, 0x7d, 0x2c, 0x22, 0x74, 0x79, 0x70,
0x65, 0x22, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d, 0x5d, 0x2c, 0x22,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/data-objects/list-1a9392.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat&stat=1&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:14 GMT", `Content-Length` = "847",
Date = "Wed, 31 May 2023 15:29:09 GMT", `Content-Length` = "847",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand All @@ -14,8 +14,8 @@ structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Fro
0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x3a, 0x7b, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x77,
0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x34, 0x39, 0x31, 0x32, 0x32,
0x31, 0x34, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x35, 0x35, 0x34, 0x36, 0x39,
0x34, 0x39, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x34, 0x38, 0x39, 0x30, 0x33, 0x7d, 0x2c, 0x22, 0x74,
0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61,
0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d, 0x5d,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/list-275f2a.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.rds&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:09 GMT", `Content-Length` = "831",
Date = "Wed, 31 May 2023 15:29:04 GMT", `Content-Length` = "831",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/list-3210f2.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.csv&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:10 GMT", `Content-Length` = "831",
Date = "Wed, 31 May 2023 15:29:05 GMT", `Content-Length` = "831",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/list-3c89f1.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.csv&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:17 GMT", `Content-Length` = "825",
Date = "Wed, 31 May 2023 15:29:11 GMT", `Content-Length` = "825",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/data-objects/list-7e8be2.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.rds&stat=1&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:10 GMT", `Content-Length` = "890",
Date = "Wed, 31 May 2023 15:29:05 GMT", `Content-Length` = "890",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand All @@ -14,8 +14,8 @@ structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Fro
0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x3a, 0x7b, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x77,
0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x34, 0x39, 0x31, 0x32, 0x32,
0x31, 0x30, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x35, 0x35, 0x34, 0x36, 0x39,
0x34, 0x35, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x31, 0x34, 0x31, 0x7d, 0x2c, 0x22, 0x74, 0x79, 0x70,
0x65, 0x22, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d, 0x5d, 0x2c, 0x22,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/data-objects/list-8d106a.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.csv&stat=1&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:14 GMT", `Content-Length` = "892",
Date = "Wed, 31 May 2023 15:29:09 GMT", `Content-Length` = "892",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand All @@ -14,8 +14,8 @@ structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Fro
0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x3a, 0x7b, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x77,
0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x34, 0x39, 0x31, 0x32, 0x32,
0x31, 0x34, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x22, 0x31, 0x36, 0x38, 0x35, 0x35, 0x34, 0x36, 0x39,
0x34, 0x39, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65, 0x22,
0x3a, 0x34, 0x38, 0x39, 0x30, 0x33, 0x7d, 0x2c, 0x22, 0x74,
0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61,
0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d, 0x5d,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/list-95f825.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.rds&stat=0&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:11 GMT", `Content-Length` = "825",
Date = "Wed, 31 May 2023 15:29:06 GMT", `Content-Length` = "825",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/data-objects/list-a6bb6d.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.rds&stat=1&permissions=0&metadata=0&offset=0&limit=100",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:09 GMT", `Content-Length` = "896",
Date = "Wed, 31 May 2023 15:29:04 GMT", `Content-Length` = "896",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x5f, 0x65, 0x6d, 0x62, 0x65,
Expand All @@ -14,8 +14,8 @@ structure(list(method = "GET", url = "/list?logical-path=%2FtempZone%2Fhome%2Fro
0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x22, 0x3a, 0x7b, 0x22, 0x6c, 0x61, 0x73, 0x74, 0x5f,
0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
0x22, 0x3a, 0x22, 0x31, 0x36, 0x38, 0x34, 0x39, 0x31, 0x32,
0x32, 0x30, 0x38, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65,
0x22, 0x3a, 0x22, 0x31, 0x36, 0x38, 0x35, 0x35, 0x34, 0x36,
0x39, 0x34, 0x34, 0x22, 0x2c, 0x22, 0x73, 0x69, 0x7a, 0x65,
0x22, 0x3a, 0x34, 0x30, 0x30, 0x7d, 0x2c, 0x22, 0x74, 0x79,
0x70, 0x65, 0x22, 0x3a, 0x22, 0x64, 0x61, 0x74, 0x61, 0x5f,
0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d, 0x5d, 0x2c,
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/logicalpath-09bddd-DELETE.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.csv&no-trash=1&recursive=0",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:17 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:11 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/logicalpath-ce4883-DELETE.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.csv&no-trash=1&recursive=0",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:10 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:05 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/logicalpath-cffe2c-DELETE.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.rds&no-trash=1&recursive=0",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:09 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:04 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/logicalpath-e91799-DELETE.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "DELETE", url = "/logicalpath?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fmt.rds&no-trash=1&recursive=0",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:11 GMT", `Content-Length` = "0",
Date = "Wed, 31 May 2023 15:29:06 GMT", `Content-Length` = "0",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = raw(0)), class = "httr2_response")
2 changes: 1 addition & 1 deletion tests/testthat/data-objects/stream-027865-PUT.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
structure(list(method = "PUT", url = "/stream?logical-path=%2FtempZone%2Fhome%2Frods%2Ftestthat%2Fdfr.csv&offset=0&count=2000&truncate=true",
status_code = 200L, headers = structure(list(Server = "nginx/1.23.1",
Date = "Wed, 24 May 2023 07:10:09 GMT", `Content-Length` = "33",
Date = "Wed, 31 May 2023 15:29:05 GMT", `Content-Length` = "33",
Connection = "keep-alive", `Access-Control-Allow-Origin` = "*",
`Access-Control-Allow-Headers` = "*", `Access-Control-Allow-Methods` = "AUTHORIZATION,ACCEPT,GET,POST,OPTIONS,PUT,DELETE"), class = "httr2_headers"),
body = as.raw(c(0x7b, 0x22, 0x63, 0x6f, 0x64, 0x65, 0x22,
Expand Down
Loading

0 comments on commit cea4894

Please sign in to comment.