MCPcopy Create free account
hub / github.com/chanify/chanify / TestPublicKeyEncrypt

Function TestPublicKeyEncrypt

model/user_test.go:17–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestPublicKeyEncrypt(t *testing.T) {
18 u := &User{}
19 if len(u.PublicKeyEncrypt([]byte{})) > 0 {
20 t.Fatal("Check public key encrypt failed")
21 }
22}

Callers

nothing calls this directly

Calls 1

PublicKeyEncryptMethod · 0.95

Tested by

no test coverage detected