()
| 356 | } |
| 357 | |
| 358 | func (s *IntegrationSuite) TestPluginLoadFail_expectPanic() { |
| 359 | db := testdb.NewDBWithDefaultUser(s.T()) |
| 360 | defer db.Close() |
| 361 | |
| 362 | assert.Panics(s.T(), func() { |
| 363 | Create(db.GormDatabase, new(model.VersionInfo), &config.Configuration{ |
| 364 | PluginsDir: "<THIS_PATH_IS_MALFORMED>", |
| 365 | }) |
| 366 | }) |
| 367 | } |
| 368 | |
| 369 | func (s *IntegrationSuite) TestAuthentication() { |
| 370 | req := s.newRequest("GET", "current/user", "") |
nothing calls this directly
no test coverage detected