Skip to content

refactor: simplify temporary file handling in tests

This MR simplifies tests that use os.TempDir.

We can remove the temporary file tf because it's not used in TestMarkdownUploads_UploadProjectMarkdown_Retry. Additionally, we can use os.WriteFile with t.TempDir to simplify the TestGroupImport test.

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading