MCPcopy Create free account
hub / github.com/DNAProject/DNA / TestGetAccountPassword

Function TestGetAccountPassword

common/password/password_test.go:28–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

26)
27
28func TestGetAccountPassword(t *testing.T) {
29 var password, err = GetAccountPassword()
30 assert.Nil(t, password)
31 assert.NotNil(t, err)
32 password, err = GetPassword()
33 assert.Nil(t, password)
34 assert.NotNil(t, err)
35 password, err = GetConfirmedPassword()
36 assert.Nil(t, password)
37 assert.NotNil(t, err)
38}

Callers

nothing calls this directly

Calls 3

GetAccountPasswordFunction · 0.70
GetPasswordFunction · 0.70
GetConfirmedPasswordFunction · 0.70

Tested by

no test coverage detected