From 92144f5f64eea06968ac356aafef1907c4361a89 Mon Sep 17 00:00:00 2001 From: Johan Smits Date: Tue, 11 Aug 2020 21:51:36 +0200 Subject: [PATCH] Update ext.rs Make mock api available --- lambda-http/src/ext.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lambda-http/src/ext.rs b/lambda-http/src/ext.rs index dd08ae73..3257bccf 100644 --- a/lambda-http/src/ext.rs +++ b/lambda-http/src/ext.rs @@ -121,7 +121,6 @@ pub trait RequestExt { /// Configures instance with query string parameters under #[cfg(test)] configurations /// /// This is intended for use in mock testing contexts. - #[cfg(test)] fn with_query_string_parameters(self, parameters: Q) -> Self where Q: Into; @@ -137,7 +136,6 @@ pub trait RequestExt { /// Configures instance with path parameters under #[cfg(test)] configurations /// /// This is intended for use in mock testing contexts. - #[cfg(test)] fn with_path_parameters

(self, parameters: P) -> Self where P: Into; @@ -182,7 +180,6 @@ impl RequestExt for http::Request { .unwrap_or_default() } - #[cfg(test)] fn with_query_string_parameters(self, parameters: Q) -> Self where Q: Into, @@ -199,7 +196,6 @@ impl RequestExt for http::Request { .unwrap_or_default() } - #[cfg(test)] fn with_path_parameters

(self, parameters: P) -> Self where P: Into,