summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/config.go')
-rw-r--r--testrig/config.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/testrig/config.go b/testrig/config.go
index 0a322484c..8c9ee5b29 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -23,6 +23,7 @@ import (
"codeberg.org/gruf/go-bytesize"
"github.com/coreos/go-oidc/v3/oidc"
"github.com/superseriousbusiness/gotosocial/internal/config"
+ "github.com/superseriousbusiness/gotosocial/internal/language"
)
// InitTestConfig initializes viper configuration with test defaults.
@@ -68,6 +69,14 @@ var testDefaults = config.Configuration{
InstanceExposeSuspended: true,
InstanceExposeSuspendedWeb: true,
InstanceDeliverToSharedInboxes: true,
+ InstanceLanguages: language.Languages{
+ {
+ TagStr: "nl",
+ },
+ {
+ TagStr: "en-gb",
+ },
+ },
AccountsRegistrationOpen: true,
AccountsApprovalRequired: true,