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

Method getConfForMockPlugin

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

Source from the content-addressed store, hash-verified

96}
97
98func (s *ManagerSuite) getConfForMockPlugin(uid uint) *model.PluginConf {
99 pluginConf, err := s.db.GetPluginConfByUserAndPath(uid, mockPluginPath)
100 assert.NoError(s.T(), err)
101 return pluginConf
102}
103
104func (s *ManagerSuite) getMockPluginInstance(uid uint) *mock.PluginInstance {
105 pid := s.getConfForMockPlugin(uid).ID

Calls 1

Tested by

no test coverage detected