Skip to content

Commit 2f45e34

Browse files
committed
client: use designated domains in tests (RFC2606)
Update domains used in tests to used domains that are designated for this purpose as described in [RFC2606, section 3][1] [1]: https://www.rfc-editor.org/rfc/rfc2606.html#section-3 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 707d113 commit 2f45e34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
)
1212

1313
const (
14-
validServerAddress = "https://index.docker.io/v1"
14+
validServerAddress = "https://registry.example.com/v1"
1515
validUsername = "linus"
1616
validServerAddress2 = "https://example.com:5002"
1717
invalidServerAddress = "https://foobar.example.com"
18-
missingCredsAddress = "https://missing.docker.io/v1"
18+
missingCredsAddress = "https://missing.example.com/v1"
1919
)
2020

2121
var errProgramExited = fmt.Errorf("exited 1")

0 commit comments

Comments
 (0)