()
| 245 | } |
| 246 | |
| 247 | func (h *MainHelper) setupResources() { |
| 248 | var err error |
| 249 | h.testResourcePath, err = SetupTestResources() |
| 250 | if err != nil { |
| 251 | panic("failed to setup test resources: " + err.Error()) |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | // PreloadMigrations preloads the migrations and roles into the database |
| 256 | // so that they are not run again when the migrations happen every time |
no test coverage detected