aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/tests/test_api_server.rs11
1 files changed, 11 insertions, 0 deletions
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",