diff options
Diffstat (limited to 'rust/tests/test_api_server.rs')
-rw-r--r-- | rust/tests/test_api_server.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rust/tests/test_api_server.rs b/rust/tests/test_api_server.rs index fbaaa836..4c269e7f 100644 --- a/rust/tests/test_api_server.rs +++ b/rust/tests/test_api_server.rs @@ -57,6 +57,17 @@ fn test_entity_gets() { Some("Trivial Results"), ); + // Check revision encoding + check_response( + request::get( + "http://localhost:9411/v0/container/aaaaaaaaaaaaaeiraaaaaaaaai", + headers.clone(), + &router, + ), + status::Ok, + Some("00000000-0000-0000-1111-fff000000002"), + ); + check_response( request::get( "http://localhost:9411/v0/creator/aaaaaaaaaaaaaircaaaaaaaaae", |