From 10508483577bd6c2b26fb666a1d20a66f8a82669 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 27 May 2023 13:12:19 +0200 Subject: [PATCH] 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 --- client/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client_test.go b/client/client_test.go index ebb2a6b..0db2005 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -11,11 +11,11 @@ import ( ) const ( - validServerAddress = "https://index.docker.io/v1" + validServerAddress = "https://registry.example.com/v1" validUsername = "linus" validServerAddress2 = "https://example.com:5002" invalidServerAddress = "https://foobar.example.com" - missingCredsAddress = "https://missing.docker.io/v1" + missingCredsAddress = "https://missing.example.com/v1" ) var errProgramExited = fmt.Errorf("exited 1")