@@ -42,7 +42,7 @@ func (m *memoryStore) List() (map[string]string, error) {
42
42
}
43
43
44
44
func TestStore (t * testing.T ) {
45
- serverURL := "https://index.docker.io /v1/"
45
+ serverURL := "https://registry.example.com /v1/"
46
46
creds := & Credentials {
47
47
ServerURL : serverURL ,
48
48
Username : "foo" ,
@@ -95,7 +95,7 @@ func TestStoreMissingServerURL(t *testing.T) {
95
95
96
96
func TestStoreMissingUsername (t * testing.T ) {
97
97
creds := & Credentials {
98
- ServerURL : "https://index.docker.io /v1/" ,
98
+ ServerURL : "https://registry.example.com /v1/" ,
99
99
Username : "" ,
100
100
Secret : "bar" ,
101
101
}
@@ -114,7 +114,7 @@ func TestStoreMissingUsername(t *testing.T) {
114
114
}
115
115
116
116
func TestGet (t * testing.T ) {
117
- serverURL := "https://index.docker.io /v1/"
117
+ serverURL := "https://registry.example.com /v1/"
118
118
creds := & Credentials {
119
119
ServerURL : serverURL ,
120
120
Username : "foo" ,
@@ -156,7 +156,7 @@ func TestGet(t *testing.T) {
156
156
}
157
157
158
158
func TestGetMissingServerURL (t * testing.T ) {
159
- serverURL := "https://index.docker.io /v1/"
159
+ serverURL := "https://registry.example.com /v1/"
160
160
creds := & Credentials {
161
161
ServerURL : serverURL ,
162
162
Username : "foo" ,
@@ -182,7 +182,7 @@ func TestGetMissingServerURL(t *testing.T) {
182
182
}
183
183
184
184
func TestErase (t * testing.T ) {
185
- serverURL := "https://index.docker.io /v1/"
185
+ serverURL := "https://registry.example.com /v1/"
186
186
creds := & Credentials {
187
187
ServerURL : serverURL ,
188
188
Username : "foo" ,
@@ -211,7 +211,7 @@ func TestErase(t *testing.T) {
211
211
}
212
212
213
213
func TestEraseMissingServerURL (t * testing.T ) {
214
- serverURL := "https://index.docker.io /v1/"
214
+ serverURL := "https://registry.example.com /v1/"
215
215
creds := & Credentials {
216
216
ServerURL : serverURL ,
217
217
Username : "foo" ,
0 commit comments