MCPcopy Index your code
hub / github.com/gotify/server / TestInstantiatePlugin

Method TestInstantiatePlugin

plugin/compat/wrap_test.go:64–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (s *CompatSuite) TestInstantiatePlugin() {
65 inst := s.p.NewPluginInstance(UserContext{
66 ID: 1,
67 Name: "test",
68 })
69
70 assert.NotNil(s.T(), inst)
71}
72
73func (s *CompatSuite) TestGetCapabilities() {
74 inst := s.p.NewPluginInstance(UserContext{

Callers

nothing calls this directly

Calls 1

NewPluginInstanceMethod · 0.65

Tested by

no test coverage detected