aboutsummaryrefslogtreecommitdiffstats
path: root/modules/packages/hashed_buffer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/hashed_buffer_test.go')
-rw-r--r--modules/packages/hashed_buffer_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/packages/hashed_buffer_test.go b/modules/packages/hashed_buffer_test.go
index 564e782f18..5104c1fb25 100644
--- a/modules/packages/hashed_buffer_test.go
+++ b/modules/packages/hashed_buffer_test.go
@@ -9,10 +9,13 @@ import (
"strings"
"testing"
+ "code.gitea.io/gitea/modules/setting"
+
"github.com/stretchr/testify/assert"
)
func TestHashedBuffer(t *testing.T) {
+ setting.AppDataPath = t.TempDir()
cases := []struct {
MaxMemorySize int
Data string