aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/common
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2024-03-04 12:56:02 +0000
committerAlex <alex@adnab.me>2024-03-04 12:56:02 +0000
commit5bb69a12578f3e27924f4b35c0c01cf65a0e3dc3 (patch)
tree60dd2787c5046478dc30d2cb60471184d73eb633 /src/garage/tests/common
parent32d6b4def8d14d77727be9af640b1626d5153c75 (diff)
parentc8e416aaa5203347a35407a929ac5dfcb1f2a6bc (diff)
downloadgarage-5bb69a12578f3e27924f4b35c0c01cf65a0e3dc3.tar.gz
garage-5bb69a12578f3e27924f4b35c0c01cf65a0e3dc3.zip
Merge pull request 'Add API test + fix presigned requests' (#756) from test-presigned into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/756
Diffstat (limited to 'src/garage/tests/common')
-rw-r--r--src/garage/tests/common/custom_requester.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/garage/tests/common/custom_requester.rs b/src/garage/tests/common/custom_requester.rs
index 2cac5cd5..8e1eaa56 100644
--- a/src/garage/tests/common/custom_requester.rs
+++ b/src/garage/tests/common/custom_requester.rs
@@ -64,6 +64,10 @@ impl CustomRequester {
vhost_style: false,
}
}
+
+ pub fn client(&self) -> &Client<HttpConnector, Body> {
+ &self.client
+ }
}
pub struct RequestBuilder<'a> {