From f3243f752f4a1eaae8726674b1978d96ad8da2e4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 20 Jul 2018 21:01:44 -0700 Subject: oops, forgot revisions should be UUID --- 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 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", -- cgit v1.2.3