MCPcopy Create free account
hub / github.com/gogs/gogs / TestMailResendCacheKey

Function TestMailResendCacheKey

internal/userutil/userutil_test.go:181–184  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

179}
180
181func TestMailResendCacheKey(t *testing.T) {
182 got := MailResendCacheKey(1)
183 assert.Equal(t, "mailResend::1", got)
184}
185
186func TestTwoFactorCacheKey(t *testing.T) {
187 got := TwoFactorCacheKey(1, "113654")

Callers

nothing calls this directly

Calls 1

MailResendCacheKeyFunction · 0.85

Tested by

no test coverage detected