Move test_secret file
This commit is contained in:
parent
d1428e164e
commit
b92d1b7ca9
|
|
@ -13,8 +13,8 @@ func TestPasswordConfig(t *testing.T) {
|
|||
}{
|
||||
{pc: PasswordConfig{}, expected: ""},
|
||||
{pc: PasswordConfig{Password: "config"}, expected: "config"},
|
||||
{pc: PasswordConfig{Password: "config", PasswordFile: "test_secret"}, expected: "secret"},
|
||||
{pc: PasswordConfig{PasswordFile: "test_secret"}, expected: "secret"},
|
||||
{pc: PasswordConfig{Password: "config", PasswordFile: "testdata/test_secret"}, expected: "secret"},
|
||||
{pc: PasswordConfig{PasswordFile: "testdata/test_secret"}, expected: "secret"},
|
||||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
|
|
|
|||
Loading…
Reference in New Issue