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

Method TestGetDisplay

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

Source from the content-addressed store, hash-verified

117}
118
119func (s *CompatSuite) TestGetDisplay() {
120 inst := s.p.NewPluginInstance(UserContext{
121 ID: 6,
122 Name: "test6",
123 })
124
125 assert.NotEqual(s.T(), "", inst.GetDisplay(nil))
126}
127
128func TestCompatSuite(t *testing.T) {
129 suite.Run(t, new(CompatSuite))

Callers

nothing calls this directly

Calls 2

GetDisplayMethod · 0.95
NewPluginInstanceMethod · 0.65

Tested by

no test coverage detected