summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/config.go')
-rw-r--r--testrig/config.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/testrig/config.go b/testrig/config.go
index e424670fa..92d04c453 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -19,6 +19,9 @@
package testrig
import (
+ "os"
+ "path"
+
"github.com/coreos/go-oidc/v3/oidc"
"github.com/superseriousbusiness/gotosocial/internal/config"
)
@@ -64,7 +67,7 @@ var TestDefaults = config.Configuration{
MediaRemoteCacheDays: 30,
StorageBackend: "local",
- StorageLocalBasePath: "/gotosocial/storage",
+ StorageLocalBasePath: path.Join(os.TempDir(), "gotosocial"),
StatusesMaxChars: 5000,
StatusesCWMaxChars: 100,