diff --git a/rust-runtime/aws-smithy-http-server/src/routing/mod.rs b/rust-runtime/aws-smithy-http-server/src/routing/mod.rs index f929556e0813f3d0d35f8bbed63558ac9c14197e..335a951a393d93e1316d6a457b0d80a5ff6be782 100644 --- a/rust-runtime/aws-smithy-http-server/src/routing/mod.rs +++ b/rust-runtime/aws-smithy-http-server/src/routing/mod.rs @@ -362,14 +362,6 @@ mod tests { ), "B2", ), - ( - RequestSpec::from_parts(Method::GET, Vec::new(), Vec::new()), - "ListBuckets", - ), - ( - RequestSpec::from_parts(Method::GET, vec![PathSegment::Label], Vec::new()), - "ListObjects", - ), ]; let mut router = Router::from_box_clone_service_iter(request_specs.into_iter().map(|(spec, svc_name)| { @@ -384,8 +376,6 @@ mod tests { ("A2", Method::GET, "/a/foo/a"), ("B1", Method::GET, "/b/foo/bar/baz"), ("B2", Method::GET, "/b/foo?q=baz"), - ("ListBuckets", Method::GET, "/"), - ("ListObjects", Method::GET, "/bucket"), ]; for (svc_name, method, uri) in &hits { let mut res = router.call(req(method, uri)).await.unwrap();