From 55f8a495354d233f7a68128b2f3c21dbe7395427 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 26 May 2018 17:08:21 -0700 Subject: tweak schema (api and sql) --- rust/tests/test_api_server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/tests/test_api_server.rs') 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, -- cgit v1.2.3