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

Method BeforeTest

auth/util_test.go:22–24  ·  view source on GitHub ↗
(suiteName, testName string)

Source from the content-addressed store, hash-verified

20}
21
22func (s *UtilSuite) BeforeTest(suiteName, testName string) {
23 mode.Set(mode.TestDev)
24}
25
26func (s *UtilSuite) Test_getID() {
27 s.expectUserIDWith(&model.User{ID: 2}, 0, 2)

Callers

nothing calls this directly

Calls 1

SetFunction · 0.92

Tested by

no test coverage detected