diff --git a/registry/auth_test.go b/registry/auth_test.go index f8f3e1997b..0a9cdd4bd3 100644 --- a/registry/auth_test.go +++ b/registry/auth_test.go @@ -20,20 +20,6 @@ func buildAuthConfigs() map[string]types.AuthConfig { return authConfigs } -func TestSameAuthDataPostSave(t *testing.T) { - authConfigs := buildAuthConfigs() - authConfig := authConfigs["testIndex"] - if authConfig.Username != "docker-user" { - t.Fail() - } - if authConfig.Password != "docker-pass" { - t.Fail() - } - if authConfig.Auth != "" { - t.Fail() - } -} - func TestResolveAuthConfigIndexServer(t *testing.T) { authConfigs := buildAuthConfigs() indexConfig := authConfigs[IndexServer]