MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / TestInvalidConfig

Function TestInvalidConfig

pkg/config/config_test.go:134–139  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

132}
133
134func TestInvalidConfig(t *testing.T) {
135 t.Parallel()
136 a := assertions.New(t)
137 config := InitializeWithDefaults("invalid", "invalid", struct{}{})
138 a.So(config, should.NotBeNil)
139}
140
141func TestConfigDefaults(t *testing.T) {
142 t.Parallel()

Callers

nothing calls this directly

Calls 2

InitializeWithDefaultsFunction · 0.85
NewMethod · 0.65

Tested by

no test coverage detected