From 27b397c71235a8741889be3e166dc7e6e3407543 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Sun, 1 Apr 2018 23:41:45 +0200 Subject: [PATCH] fix environment_docker_test data path --- .gitignore | 2 ++ control/environment_docker_test.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 281344a..a92947b 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,8 @@ wings.exe # IDE/Editor files (VS Code) /.vscode +# test files +test_*/ # Keep all gitkeep files (This needs to stay at the bottom) !.gitkeep diff --git a/control/environment_docker_test.go b/control/environment_docker_test.go index 68aeb10..f5ce62e 100644 --- a/control/environment_docker_test.go +++ b/control/environment_docker_test.go @@ -15,7 +15,7 @@ import ( ) func testServer() *ServerStruct { - viper.SetDefault(config.DataPath, "./data") + viper.SetDefault(config.DataPath, "./test_data") return &ServerStruct{ ID: "testuuid-something-something", Service: &Service{