diff --git a/turms-plugins/turms-plugin-minio/pom.xml b/turms-plugins/turms-plugin-minio/pom.xml
index ddeb48bb58..84a5e902d1 100644
--- a/turms-plugins/turms-plugin-minio/pom.xml
+++ b/turms-plugins/turms-plugin-minio/pom.xml
@@ -35,6 +35,13 @@
minio
${minio.version}
+
+
+ im.turms
+ server-test-common
+ ${project.version}
+ test
+
diff --git a/turms-plugins/turms-plugin-minio/src/main/java/im/turms/plugin/minio/MinioStorageServiceProvider.java b/turms-plugins/turms-plugin-minio/src/main/java/im/turms/plugin/minio/MinioStorageServiceProvider.java
index 81351f4e8d..41c6d89480 100644
--- a/turms-plugins/turms-plugin-minio/src/main/java/im/turms/plugin/minio/MinioStorageServiceProvider.java
+++ b/turms-plugins/turms-plugin-minio/src/main/java/im/turms/plugin/minio/MinioStorageServiceProvider.java
@@ -102,12 +102,13 @@
*/
public class MinioStorageServiceProvider extends TurmsExtension implements StorageServiceProvider {
+ public static final String RESOURCE_ID = "id";
+ public static final String RESOURCE_URL = "url";
+
private static final Logger LOGGER = LoggerFactory.getLogger(MinioStorageServiceProvider.class);
private static final int INIT_BUCKETS_TIMEOUT_SECONDS = 60;
private static final Map RESOURCE_TYPE_TO_BUCKET_NAME;
- private static final String RESOURCE_ID = "id";
- private static final String RESOURCE_URL = "url";
private static final String HTTP_HEADER_CONTENT_TYPE = "Content-Type";
private static final Mono