From c58974c0a3aa22081717d6fce6580772e4ba2fa9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 25 Jul 2018 23:57:33 -0700 Subject: quick test for expand behavior --- rust/tests/test_api_server.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rust/tests') diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs index ca2d8df2..ffae8502 100644 --- a/rust/tests/test_api_server.rs +++ b/rust/tests/test_api_server.rs @@ -98,6 +98,17 @@ fn test_entity_gets() { Some("bigger example"), ); + // expand keyword + check_response( + request::get( + "http://localhost:9411/v0/release/aaaaaaaaaaaaarceaaaaaaaaai?expand=all", + headers.clone(), + &router, + ), + status::Ok, + Some("MySpace Blog"), + ); + check_response( request::get( "http://localhost:9411/v0/work/aaaaaaaaaaaaavkvaaaaaaaaai", -- cgit v1.2.3