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

Function TestNewManager_NonPluginFile_expectError

plugin/manager_test.go:364–367  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

362}
363
364func TestNewManager_NonPluginFile_expectError(t *testing.T) {
365 _, err := NewManager(nil, path.Join(test.GetProjectDir(), "test/assets/"), nil, nil)
366 assert.Error(t, err)
367}
368
369func TestNewManager_InternalApplicationManagement(t *testing.T) {
370 db := testdb.NewDBWithDefaultUser(t)

Callers

nothing calls this directly

Calls 3

GetProjectDirFunction · 0.92
NewManagerFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…