diff --git a/test/integration/publish_int_test.go b/test/integration/publish_int_test.go index 5e1caf8def..a8963c8724 100644 --- a/test/integration/publish_int_test.go +++ b/test/integration/publish_int_test.go @@ -52,10 +52,12 @@ func (suite *PublishIntegrationTestSuite) TestPublish() { expect expect } - tempFile := fileutils.TempFilePath("", "*.zip") + tempFile := fileutils.TempFilePath("", ".zip") + suite.Require().NoError(fileutils.Touch(tempFile)) defer os.Remove(tempFile) - tempFileInvalid := fileutils.TempFilePath("", "*.notzip") + tempFileInvalid := fileutils.TempFilePath("", ".notzip") + suite.Require().NoError(fileutils.Touch(tempFileInvalid)) defer os.Remove(tempFileInvalid) ts := e2e.New(suite.T(), false)