From c07e70dd438a3d0627f8046a0277d1f6dced29f7 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 6 Apr 2021 15:54:23 +0200 Subject: Fixed incomplete test case --- pkg/config/config_test.go | 2 +- pkg/config/test_data/minimal_with_hostname.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/config') diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index 3904b5d..6969191 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -19,7 +19,7 @@ func TestLoadFile(t *testing.T) { // Minimal yaml file with hostname resolving minimalConfigWithResolving := Config{ Address: "localhost", - Port: "8082", + Port: "www", Token: "12345678-9abc-def0-1234-56789abcdef0", } diff --git a/pkg/config/test_data/minimal_with_hostname.yaml b/pkg/config/test_data/minimal_with_hostname.yaml index 716b2d5..dbede14 100644 --- a/pkg/config/test_data/minimal_with_hostname.yaml +++ b/pkg/config/test_data/minimal_with_hostname.yaml @@ -1,3 +1,3 @@ address: localhost -port: 8082 +port: www token: 12345678-9abc-def0-1234-56789abcdef0 -- cgit v1.2.3