confmap/provider/httpsprovider/provider_test.go
raw| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package httpsprovider |
| 5 | |
| 6 | import ( |
| 7 | "testing" |
| 8 | |
| 9 | "github.com/stretchr/testify/assert" |
| 10 | |
| 11 | "go.opentelemetry.io/collector/confmap/confmaptest" |
| 12 | ) |
| 13 | |
| 14 | func TestSupportedScheme(t *testing.T) { |
| 15 | fp := NewFactory().Create(confmaptest.NewNopProviderSettings()) |
| 16 | assert.Equal(t, "https", fp.Scheme()) |
| 17 | } |