mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-19 12:31:05 +08:00
* feat(sqlmigration): add sqlmigrations * feat(sqlmigration): test sqlmigrations * feat(sqlmigration): add remaining factories * feat(sqlmigration): consolidate into single package * fix(telemetrystore): remove existing env variables * fix(telemetrystore): fix DSN
17 lines
431 B
Go
17 lines
431 B
Go
package signoz
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
"go.signoz.io/signoz/pkg/config/configtest"
|
|
)
|
|
|
|
// This is a test to ensure that all fields of config implement the factory.Config interface and are valid with
|
|
// their default values.
|
|
func TestValidateConfig(t *testing.T) {
|
|
_, err := NewConfig(context.Background(), configtest.NewResolverConfig(), DeprecatedFlags{})
|
|
assert.NoError(t, err)
|
|
}
|