@@ -42,7 +42,7 @@ func (m *memoryStore) List() (map[string]string, error) {
4242}
4343
4444func TestStore (t * testing.T ) {
45- const serverURL = "https://index.docker.io /v1/"
45+ const serverURL = "https://registry.example.com /v1/"
4646 creds := & Credentials {
4747 ServerURL : serverURL ,
4848 Username : "foo" ,
@@ -95,7 +95,7 @@ func TestStoreMissingServerURL(t *testing.T) {
9595
9696func TestStoreMissingUsername (t * testing.T ) {
9797 creds := & Credentials {
98- ServerURL : "https://index.docker.io /v1/" ,
98+ ServerURL : "https://registry.example.com /v1/" ,
9999 Username : "" ,
100100 Secret : "bar" ,
101101 }
@@ -114,7 +114,7 @@ func TestStoreMissingUsername(t *testing.T) {
114114}
115115
116116func TestGet (t * testing.T ) {
117- const serverURL = "https://index.docker.io /v1/"
117+ const serverURL = "https://registry.example.com /v1/"
118118 creds := & Credentials {
119119 ServerURL : serverURL ,
120120 Username : "foo" ,
@@ -156,7 +156,7 @@ func TestGet(t *testing.T) {
156156}
157157
158158func TestGetMissingServerURL (t * testing.T ) {
159- const serverURL = "https://index.docker.io /v1/"
159+ const serverURL = "https://registry.example.com /v1/"
160160 creds := & Credentials {
161161 ServerURL : serverURL ,
162162 Username : "foo" ,
@@ -182,7 +182,7 @@ func TestGetMissingServerURL(t *testing.T) {
182182}
183183
184184func TestErase (t * testing.T ) {
185- const serverURL = "https://index.docker.io /v1/"
185+ const serverURL = "https://registry.example.com /v1/"
186186 creds := & Credentials {
187187 ServerURL : serverURL ,
188188 Username : "foo" ,
@@ -211,7 +211,7 @@ func TestErase(t *testing.T) {
211211}
212212
213213func TestEraseMissingServerURL (t * testing.T ) {
214- const serverURL = "https://index.docker.io /v1/"
214+ const serverURL = "https://registry.example.com /v1/"
215215 creds := & Credentials {
216216 ServerURL : serverURL ,
217217 Username : "foo" ,
0 commit comments