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

Function verifyServerError

pkg/webmiddleware/log_test.go:73–77  ·  view source on GitHub ↗
(t *testing.T, e log.Entry)

Source from the content-addressed store, hash-verified

71}
72
73func verifyServerError(t *testing.T, e log.Entry) {
74 a := assertions.New(t)
75 a.So(e.Level(), should.Equal, log.ErrorLevel)
76 a.So(e.Message(), should.Equal, "Server error")
77}
78
79func TestLog(t *testing.T) {
80 a := assertions.New(t)

Callers

nothing calls this directly

Calls 3

NewMethod · 0.65
LevelMethod · 0.65
MessageMethod · 0.65

Tested by

no test coverage detected