Skip to content

Commit bc130b2

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 2f45e34 commit bc130b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pass/pass_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func TestPassHelper(t *testing.T) {
1111
helper := Pass{}
1212

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
}
@@ -20,7 +20,7 @@ func TestPassHelper(t *testing.T) {
2020

2121
helper.Add(creds)
2222

23-
creds.ServerURL = "https://foobar.docker.io:9999/v2"
23+
creds.ServerURL = "https://foobar.example.com:9999/v2"
2424
helper.Add(creds)
2525

2626
credsList, err := helper.List()

0 commit comments

Comments
 (0)