aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorJulien Dessaux2021-04-06 15:54:23 +0200
committerJulien Dessaux2021-04-06 15:54:23 +0200
commitc07e70dd438a3d0627f8046a0277d1f6dced29f7 (patch)
treebffb7279e86fc869e9580703e2d19901605b4d83 /pkg
parentAdded basic webui to show results (diff)
downloadtrains-c07e70dd438a3d0627f8046a0277d1f6dced29f7.tar.gz
trains-c07e70dd438a3d0627f8046a0277d1f6dced29f7.tar.bz2
trains-c07e70dd438a3d0627f8046a0277d1f6dced29f7.zip
Fixed incomplete test case
Diffstat (limited to 'pkg')
-rw-r--r--pkg/config/config_test.go2
-rw-r--r--pkg/config/test_data/minimal_with_hostname.yaml2
2 files changed, 2 insertions, 2 deletions
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