MCPcopy
hub / github.com/mattermost/mattermost / setupResources

Method setupResources

server/channels/testlib/helper.go:247–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245}
246
247func (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

Callers 1

MainMethod · 0.95

Calls 2

SetupTestResourcesFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected