()
| 147 | } |
| 148 | |
| 149 | func (s *ManagerSuite) TestInitializePlugin_noOpIfDotFile() { |
| 150 | tmpDir := test.NewTmpDir("gotify_testinitializeplugin_dotfile") |
| 151 | defer tmpDir.Clean() |
| 152 | f, err := os.Create(tmpDir.Path(".test")) |
| 153 | assert.NoError(s.T(), err) |
| 154 | _, err = f.WriteString("dummy") |
| 155 | assert.NoError(s.T(), err) |
| 156 | assert.NoError(s.T(), f.Close()) |
| 157 | assert.Nil(s.T(), s.manager.loadPlugins(tmpDir.Path())) |
| 158 | } |
| 159 | |
| 160 | func (s *ManagerSuite) TestInitializePlugin_noOpIfSubDir() { |
| 161 | tmpDir := test.NewTmpDir("gotify_testinitializeplugin_subdir") |
nothing calls this directly
no test coverage detected