- add host and bucket fields to mock response to match actual API response structure - ensure test data completeness for multipart upload testing scenarios
@@ -408,7 +408,9 @@ describe('File API Integration Tests', () => {
fileId: 1,
url: 'https://minio.example.com/file.zip',
key: '1/test-file.zip',
- size: 2048
+ size: 2048,
+ host: 'http://undefined:undefined',
+ bucket: 'd8dai'
};
const mockCompleteMultipartUpload = vi.fn().mockResolvedValue(mockResponse);