From dc06dce3412f9a37bb55220c839db336cd927975 Mon Sep 17 00:00:00 2001 From: Or Geva Date: Mon, 31 Jul 2023 15:34:04 +0300 Subject: [PATCH] Fix test --- artifactory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifactory_test.go b/artifactory_test.go index 4131a61e8..1ec968a82 100644 --- a/artifactory_test.go +++ b/artifactory_test.go @@ -4174,6 +4174,7 @@ func TestUploadZipAndCheckDeploymentViewWithArchive(t *testing.T) { assert.NoError(t, os.Mkdir(tests.Out, 0755)) wd, err := os.Getwd() assert.NoError(t, err) + defer cleanArtifactoryTest() chdirCallback := clientTestUtils.ChangeDirWithCallback(t, wd, tests.Out) defer chdirCallback() @@ -4196,7 +4197,6 @@ func TestUploadZipAndCheckDeploymentViewWithArchive(t *testing.T) { assert.Equal(t, sysTimezoneOffset, fileTimezoneOffset) } - cleanArtifactoryTest() } func TestUploadDetailedSummary(t *testing.T) {