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

Method getDanglingConf

api/plugin_test.go:64–68  ·  view source on GitHub ↗
(uid uint)

Source from the content-addressed store, hash-verified

62}
63
64func (s *PluginSuite) getDanglingConf(uid uint) *model.PluginConf {
65 conf, err := s.db.GetPluginConfByUserAndPath(uid, "github.com/gotify/server/v2/plugin/example/removed")
66 assert.NoError(s.T(), err)
67 return conf
68}
69
70func (s *PluginSuite) resetRecorder() {
71 s.recorder = httptest.NewRecorder()

Calls 1

Tested by

no test coverage detected