summaryrefslogtreecommitdiffstats
path: root/rust/tests/test_api_server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests/test_api_server.rs')
-rw-r--r--rust/tests/test_api_server.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs
index 8eedfa2f..a973b333 100644
--- a/rust/tests/test_api_server.rs
+++ b/rust/tests/test_api_server.rs
@@ -117,7 +117,7 @@ fn test_lookups() {
check_response(
request::get(
- "http://localhost:9411/v0/container/lookup?issn=1234-5678",
+ "http://localhost:9411/v0/container/lookup?issnl=1234-5678",
headers.clone(),
&router,
),
@@ -170,7 +170,7 @@ fn test_post_creator() {
request::post(
"http://localhost:9411/v0/creator",
headers,
- r#"{"name": "some person"}"#,
+ r#"{"full_name": "some person"}"#,
&router,
),
status::Created,