mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +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()
|
||
|
}
|