Test expected error cases
()
| 9541 | |
| 9542 | // Test expected error cases |
| 9543 | func testComposeObjectErrorCasesV2() { |
| 9544 | // initialize logging params |
| 9545 | startTime := time.Now() |
| 9546 | testName := getFuncName() |
| 9547 | function := "ComposeObject(destination, sourceList)" |
| 9548 | args := map[string]interface{}{} |
| 9549 | |
| 9550 | c, err := NewClient(ClientConfig{CredsV2: true}) |
| 9551 | if err != nil { |
| 9552 | logError(testName, function, args, startTime, "", "MinIO v2 client object creation failed", err) |
| 9553 | return |
| 9554 | } |
| 9555 | |
| 9556 | testComposeObjectErrorCasesWrapper(c) |
| 9557 | } |
| 9558 | |
| 9559 | func testComposeMultipleSources(c *minio.Client) { |
| 9560 | // initialize logging params |
no test coverage detected