fix tests
This commit is contained in:
parent
3d5e9a027e
commit
d02722bcef
4 changed files with 5 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1215,6 +1215,7 @@ dependencies = [
|
||||||
"format_table",
|
"format_table",
|
||||||
"futures",
|
"futures",
|
||||||
"garage_api_admin",
|
"garage_api_admin",
|
||||||
|
"garage_api_common",
|
||||||
"garage_api_k2v",
|
"garage_api_k2v",
|
||||||
"garage_api_s3",
|
"garage_api_s3",
|
||||||
"garage_block",
|
"garage_block",
|
||||||
|
|
|
@ -863,7 +863,7 @@ pub struct CopyPartResult {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::s3::xml::to_xml_with_header;
|
use crate::xml::to_xml_with_header;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn copy_object_result() -> Result<(), Error> {
|
fn copy_object_result() -> Result<(), Error> {
|
||||||
|
|
|
@ -59,6 +59,8 @@ opentelemetry-otlp = { workspace = true, optional = true }
|
||||||
syslog-tracing = { workspace = true, optional = true }
|
syslog-tracing = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
garage_api_common.workspace = true
|
||||||
|
|
||||||
aws-sdk-s3.workspace = true
|
aws-sdk-s3.workspace = true
|
||||||
chrono.workspace = true
|
chrono.workspace = true
|
||||||
http.workspace = true
|
http.workspace = true
|
||||||
|
|
|
@ -15,7 +15,7 @@ use hyper_util::client::legacy::{connect::HttpConnector, Client};
|
||||||
use hyper_util::rt::TokioExecutor;
|
use hyper_util::rt::TokioExecutor;
|
||||||
|
|
||||||
use super::garage::{Instance, Key};
|
use super::garage::{Instance, Key};
|
||||||
use garage_api::signature;
|
use garage_api_common::signature;
|
||||||
|
|
||||||
pub type Body = FullBody<hyper::body::Bytes>;
|
pub type Body = FullBody<hyper::body::Bytes>;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue