registry: remove TestSameAuthDataPostSave
This test was added in as
a regression test for saving credentials by the CLI.
However, the CLI code is no longer in this repository, so it was
no longer testing anything.
@@ -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]
