|
|
@@ -248,8 +248,8 @@ describe('MinIO Integration Tests', () => {
|
|
|
|
|
|
it('should handle SSL configuration', async () => {
|
|
|
// Create new instance with SSL
|
|
|
- vi.mocked(process.env).MINIO_USE_SSL = 'true';
|
|
|
- vi.mocked(process.env).MINIO_PORT = '443';
|
|
|
+ vi.stubEnv('MINIO_USE_SSL', 'true');
|
|
|
+ vi.stubEnv('MINIO_PORT', '443');
|
|
|
|
|
|
const sslService = new MinioService();
|
|
|
const url = sslService.getFileUrl('test-bucket', 'file.txt');
|