(t *testing.T)
| 816 | `) |
| 817 | |
| 818 | func TestDestinationValidationS3GCSConflict(t *testing.T) { |
| 819 | _, err := parseDestinationRuleForFile(parseConfigFile(sampleConfigWithS3GCSConflict, t), "test/secrets.yaml", nil) |
| 820 | assert.NotNil(t, err, "Expected error when both S3 and GCS destinations are specified") |
| 821 | if err != nil { |
| 822 | assert.Contains(t, err.Error(), "more than one destinations were found") |
| 823 | } |
| 824 | } |
| 825 | |
| 826 | func TestDestinationValidationS3VaultConflict(t *testing.T) { |
| 827 | _, err := parseDestinationRuleForFile(parseConfigFile(sampleConfigWithS3VaultConflict, t), "test/secrets.yaml", nil) |
nothing calls this directly
no test coverage detected