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

Function verifyClientError

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

Source from the content-addressed store, hash-verified

65}
66
67func verifyClientError(t *testing.T, e log.Entry) {
68 a := assertions.New(t)
69 a.So(e.Level(), should.Equal, log.InfoLevel)
70 a.So(e.Message(), should.Equal, "Client error")
71}
72
73func verifyServerError(t *testing.T, e log.Entry) {
74 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