summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server_http.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:36:41 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-18 14:36:41 -0800
commit7d9d5e5ed224e96d9d6e8939bf8d074e67c771af (patch)
treee8b438e8da88e593de07cc2a2d6be33902889831 /rust/tests/test_api_server_http.rs
parent3ff3336ca6c2b18d71f05d9fafae6b8f8f924854 (diff)
downloadfatcat-7d9d5e5ed224e96d9d6e8939bf8d074e67c771af.tar.gz
fatcat-7d9d5e5ed224e96d9d6e8939bf8d074e67c771af.zip
fix autoaccept test
Diffstat (limited to 'rust/tests/test_api_server_http.rs')
-rw-r--r--rust/tests/test_api_server_http.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index 75893933..b2f72f4a 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -1409,7 +1409,7 @@ fn test_post_batch_autoaccept() {
None,
);
- // "n"
+ // "n" (TODO)
let editgroup_id = helpers::quick_editgroup(&conn);
helpers::check_http_response(
request::post(
@@ -1421,7 +1421,7 @@ fn test_post_batch_autoaccept() {
r#"[{"name": "test journal"}, {"name": "another test journal"}]"#,
&router,
),
- status::Created,
+ status::BadRequest, // TODO
None,
);