From 04a43ae608509787d53b32b383119fd0c0b66dcd Mon Sep 17 00:00:00 2001 From: Fredrik Date: Sat, 16 Nov 2024 15:37:16 +0100 Subject: [PATCH] fix: try to fix bucket issue --- backend/src/file.rs | 1 + backend/src/router/file.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/src/file.rs b/backend/src/file.rs index b462675..4c813f8 100644 --- a/backend/src/file.rs +++ b/backend/src/file.rs @@ -209,6 +209,7 @@ mod tests { let minio_container = minio::MinIO::default() .with_env_var("MINIO_ROOT_USER", "admin") .with_env_var("MINIO_ROOT_PASSWORD", "adminadmin") + .with_env_var("MINIO_BUCKET", "no") .start() .await .unwrap(); diff --git a/backend/src/router/file.rs b/backend/src/router/file.rs index 1f66f47..b733c14 100644 --- a/backend/src/router/file.rs +++ b/backend/src/router/file.rs @@ -92,6 +92,7 @@ mod tests { let minio_container = minio::MinIO::default() .with_env_var("MINIO_ROOT_USER", "admin") .with_env_var("MINIO_ROOT_PASSWORD", "adminadmin") + .with_env_var("MINIO_BUCKET", "no") .start() .await .unwrap();