MCPcopy
hub / github.com/gotify/server / resetRecorder

Method resetRecorder

api/plugin_test.go:70–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (s *PluginSuite) resetRecorder() {
71 s.recorder = httptest.NewRecorder()
72 s.ctx, _ = gin.CreateTestContext(s.recorder)
73}
74
75func (s *PluginSuite) AfterTest(suiteName, testName string) {
76 s.db.Close()

Calls

no outgoing calls

Tested by

no test coverage detected