summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/tests/test_api_server_http.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index 0aa6b062..c179637c 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -448,6 +448,22 @@ fn test_post_release() {
status::Created,
None,
); // TODO: "secret paper"
+
+ // Bogus non-existant fields
+ /* XXX: doesn't fail
+ check_http_response(
+ request::post(
+ "http://localhost:9411/v0/release",
+ headers.clone(),
+ r#"{"title": "secret minimal paper the second",
+ "asdf123": "lalala"
+ }"#,
+ &router,
+ ),
+ status::BadRequest,
+ None,
+ );
+ */
}
#[test]