mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
19 lines
287 B
Go
19 lines
287 B
Go
|
package middleware
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"golang.org/x/text/language"
|
||
|
|
||
|
"github.com/zitadel/zitadel/internal/i18n"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
SupportedLanguages = []language.Tag{language.English, language.German}
|
||
|
)
|
||
|
|
||
|
func TestMain(m *testing.M) {
|
||
|
i18n.SupportLanguages(SupportedLanguages...)
|
||
|
m.Run()
|
||
|
}
|