(t *testing.T)
| 247 | } |
| 248 | |
| 249 | func TestNewAzureBlobStreamConfig(t *testing.T) { |
| 250 | t.Parallel() |
| 251 | cfg := &AzureBlobConfig{ |
| 252 | KeyID: "v1", |
| 253 | EncryptedSASURL: "ENCRYPTED", |
| 254 | Container: "my-container", |
| 255 | } |
| 256 | |
| 257 | got := NewAzureBlobStreamConfig(true, cfg) |
| 258 | |
| 259 | want := &AuditLogStreamConfig{ |
| 260 | Enabled: true, |
| 261 | StreamType: "Azure Blob Storage", |
| 262 | VendorSpecific: cfg, |
| 263 | } |
| 264 | if !cmp.Equal(got, want) { |
| 265 | t.Errorf("NewAzureBlobStreamConfig = %+v, want %+v", got, want) |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | func TestNewAzureHubStreamConfig(t *testing.T) { |
| 270 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…