MCPcopy Create free account
hub / github.com/git-bug/git-bug / TestLoginPasswordSerial

Function TestLoginPasswordSerial

bridge/core/auth/login_password_test.go:9–14  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestLoginPasswordSerial(t *testing.T) {
10 original := NewLoginPassword("github", "jean", "jacques")
11 loaded := testCredentialSerial(t, original)
12 assert.Equal(t, original.Login, loaded.(*LoginPassword).Login)
13 assert.Equal(t, original.Password, loaded.(*LoginPassword).Password)
14}

Callers

nothing calls this directly

Calls 2

NewLoginPasswordFunction · 0.85
testCredentialSerialFunction · 0.85

Tested by

no test coverage detected