summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-21 09:36:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-21 09:36:54 -0700
commit31b7293de21778b8db2413b8734d5934af7b0831 (patch)
tree2da5afe9280df419b85345a0e2fa773fb745413d
parent27f5bc0396ecc05ad539e62763cb3116e3d4cfa8 (diff)
downloadfatcat-31b7293de21778b8db2413b8734d5934af7b0831.tar.gz
fatcat-31b7293de21778b8db2413b8734d5934af7b0831.zip
fix 'releases' tests (to release_ids)
-rw-r--r--rust/tests/test_api_server_http.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index c5ec8eca..ae875a05 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -606,7 +606,7 @@ fn test_post_file() {
{"url": "http://web.archive.org/2/http://archive.org/asdf.txt", "rel": "webarchive" }
],
"mimetype": "application/pdf",
- "releases": [
+ "release_ids": [
"aaaaaaaaaaaaarceaaaaaaaaae",
"aaaaaaaaaaaaarceaaaaaaaaai"
],
@@ -674,7 +674,7 @@ fn test_post_fileset() {
{"url": "http://archive.org/download/dataset-0123/", "rel": "archive" },
{"url": "http://homepage.name/dataset/", "rel": "web" }
],
- "releases": [
+ "release_ids": [
"aaaaaaaaaaaaarceaaaaaaaaae",
"aaaaaaaaaaaaarceaaaaaaaaai"
],
@@ -743,7 +743,7 @@ fn test_post_webcapture() {
{"url": "http://archive.org/download/dataset-0123/", "rel": "archive" },
{"url": "http://homepage.name/dataset/", "rel": "web" }
],
- "releases": [
+ "release_ids": [
"aaaaaaaaaaaaarceaaaaaaaaae",
"aaaaaaaaaaaaarceaaaaaaaaai"
],