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

Method getConfForExamplePlugin

plugin/manager_test.go:92–96  ·  view source on GitHub ↗
(uid uint)

Source from the content-addressed store, hash-verified

90}
91
92func (s *ManagerSuite) getConfForExamplePlugin(uid uint) *model.PluginConf {
93 pluginConf, err := s.db.GetPluginConfByUserAndPath(uid, examplePluginPath)
94 assert.NoError(s.T(), err)
95 return pluginConf
96}
97
98func (s *ManagerSuite) getConfForMockPlugin(uid uint) *model.PluginConf {
99 pluginConf, err := s.db.GetPluginConfByUserAndPath(uid, mockPluginPath)

Calls 1

Tested by

no test coverage detected