forked from Deuxfleurs/garage
tests/bucket.rs: Adjusted as previously used function is now private.
This commit is contained in:
parent
7f8bf2d801
commit
a6da7e588f
1 changed files with 1 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
||||||
use crate::common;
|
use crate::common;
|
||||||
use crate::common::ext::CommandExt;
|
use crate::common::ext::CommandExt;
|
||||||
use aws_sdk_s3::operation::delete_bucket::DeleteBucketOutput;
|
use aws_sdk_s3::operation::delete_bucket::DeleteBucketOutput;
|
||||||
use aws_sdk_s3::types::BucketLocationConstraint;
|
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn test_bucket_all() {
|
async fn test_bucket_all() {
|
||||||
|
@ -63,10 +62,7 @@ async fn test_bucket_all() {
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
match r.location_constraint.unwrap() {
|
assert_eq!(r.location_constraint.unwrap().as_str(), "garage-integ-test");
|
||||||
BucketLocationConstraint::Unknown(v) if v.as_str() == "garage-integ-test" => (),
|
|
||||||
_ => unreachable!("wrong region"),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
// (Stub) check GetVersioning
|
// (Stub) check GetVersioning
|
||||||
|
|
Loading…
Reference in a new issue