1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Publish helper structs and methods.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera
2016-03-24 15:08:17 -07:00
parent 4b8917b1cf
commit df8c7a02f1
9 changed files with 25 additions and 37 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ func TestSecretServiceHelper(t *testing.T) {
Secret: "foobarbaz",
}
helper := New()
helper := Secretservice{}
if err := helper.Add(creds); err != nil {
t.Fatal(err)
}
@@ -41,7 +41,7 @@ func TestSecretServiceHelper(t *testing.T) {
func TestMissingCredentials(t *testing.T) {
t.Skip("test requires gnome-keyring but travis CI doesn't have it")
helper := New()
helper := Secretservice{}
_, _, err := helper.Get("https://adsfasdf.wrewerwer.com/asdfsdddd")
if err != credentials.ErrCredentialsNotFound {
t.Fatalf("exptected ErrCredentialsNotFound, got %v", err)