Move test_secret file

This commit is contained in:
Roland Shoemaker 2016-01-26 15:48:16 -08:00
parent d1428e164e
commit b92d1b7ca9
2 changed files with 2 additions and 2 deletions

View File

@ -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 {