Skip to content

Commit 2e427f5

Browse files
committed
pass: 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 6cf6695 commit 2e427f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pass/pass_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func TestPassHelper(t *testing.T) {
1313
creds := &credentials.Credentials{
14-
ServerURL: "https://foobar.docker.io:2376/v1",
14+
ServerURL: "https://foobar.example.com:2376/v1",
1515
Username: "nothing",
1616
Secret: "isthebestmeshuggahalbum",
1717
}
@@ -54,12 +54,12 @@ func TestPassHelperCheckInit(t *testing.T) {
5454
func TestPassHelperList(t *testing.T) {
5555
creds := []*credentials.Credentials{
5656
{
57-
ServerURL: "https://foobar.docker.io:2376/v1",
57+
ServerURL: "https://foobar.example.com:2376/v1",
5858
Username: "foo",
5959
Secret: "isthebestmeshuggahalbum",
6060
},
6161
{
62-
ServerURL: "https://foobar.docker.io:2375/v1",
62+
ServerURL: "https://foobar.example.com:2375/v1",
6363
Username: "bar",
6464
Secret: "isthebestmeshuggahalbum",
6565
},

0 commit comments

Comments
 (0)