From ffb3232f6ce8ee82bdd1188e2427ad29a6bce493 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 27 May 2023 13:12:43 +0200 Subject: [PATCH] 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 --- pass/pass_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pass/pass_test.go b/pass/pass_test.go index 8ab10f5..47e5e90 100644 --- a/pass/pass_test.go +++ b/pass/pass_test.go @@ -11,7 +11,7 @@ import ( func TestPassHelper(t *testing.T) { creds := &credentials.Credentials{ - ServerURL: "https://foobar.docker.io:2376/v1", + ServerURL: "https://foobar.example.com:2376/v1", Username: "nothing", Secret: "isthebestmeshuggahalbum", } @@ -54,12 +54,12 @@ func TestPassHelperCheckInit(t *testing.T) { func TestPassHelperList(t *testing.T) { creds := []*credentials.Credentials{ { - ServerURL: "https://foobar.docker.io:2376/v1", + ServerURL: "https://foobar.example.com:2376/v1", Username: "foo", Secret: "isthebestmeshuggahalbum", }, { - ServerURL: "https://foobar.docker.io:2375/v1", + ServerURL: "https://foobar.example.com:2375/v1", Username: "bar", Secret: "isthebestmeshuggahalbum", },