aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_api_server_http.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/rust/tests/test_api_server_http.rs b/rust/tests/test_api_server_http.rs
index 66f36a14..c891ed2e 100644
--- a/rust/tests/test_api_server_http.rs
+++ b/rust/tests/test_api_server_http.rs
@@ -362,6 +362,17 @@ fn test_lookups() {
Some("bigger example"),
);
+ // not lower-case
+ helpers::check_http_response(
+ request::get(
+ "http://localhost:9411/v0/release/lookup?doi=10.123/ABC",
+ headers.clone(),
+ &router,
+ ),
+ status::Ok,
+ Some("bigger example"),
+ );
+
// URL encoded
helpers::check_http_response(
request::get(