From 6308a06981ba0ca2c785ffb638095dc4f35cc433 Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Fri, 9 Feb 2024 13:25:59 +0300 Subject: [PATCH] fix: unit test --- contrib/executor/jmeterd/pkg/runner/helpers_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/executor/jmeterd/pkg/runner/helpers_test.go b/contrib/executor/jmeterd/pkg/runner/helpers_test.go index c91d3f7d7bf..960ac3df657 100644 --- a/contrib/executor/jmeterd/pkg/runner/helpers_test.go +++ b/contrib/executor/jmeterd/pkg/runner/helpers_test.go @@ -41,7 +41,7 @@ func TestGetTestPathAndWorkingDir(t *testing.T) { dataDir: "/tmp/data", }, wantTestPath: "/tmp/data/test-content", - wantWorkingDir: "", + wantWorkingDir: "/tmp/data", wantTestFile: "", wantErr: false, setup: func(fs *filesystem.MockFileSystem) { @@ -59,7 +59,7 @@ func TestGetTestPathAndWorkingDir(t *testing.T) { dataDir: "/tmp/data", }, wantTestPath: "/tmp/data/repo/test.jmx", - wantWorkingDir: "", + wantWorkingDir: "/tmp/data", wantTestFile: "test.jmx", wantErr: false, setup: func(fs *filesystem.MockFileSystem) {