mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-23 05:18:46 +00:00
fix(logintexts): fix several custom text attributes for get and set (#4733)
* fix(logintexts): fix several custom text attributes for get and set * fix(logintexts): fix externalUserNotFound attribute for json unmarshalling and reduce for customTexts * fix: correct imports for linting
This commit is contained in:
@@ -5,9 +5,9 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/zitadel/zitadel/internal/api/authz"
|
||||
"golang.org/x/text/language"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/api/authz"
|
||||
"github.com/zitadel/zitadel/internal/domain"
|
||||
caos_errs "github.com/zitadel/zitadel/internal/errors"
|
||||
"github.com/zitadel/zitadel/internal/eventstore"
|
||||
@@ -1631,7 +1631,7 @@ func TestCommandSide_SetCustomIAMLoginText(t *testing.T) {
|
||||
CancelButtonText: "CancelButtonText",
|
||||
NextButtonText: "NextButtonText",
|
||||
},
|
||||
ExternalNotFoundOption: domain.ExternalUserNotFoundScreenText{
|
||||
ExternalNotFound: domain.ExternalUserNotFoundScreenText{
|
||||
Title: "Title",
|
||||
Description: "Description",
|
||||
LinkButtonText: "LinkButtonText",
|
||||
@@ -4329,7 +4329,7 @@ func TestCommandSide_SetCustomIAMLoginText(t *testing.T) {
|
||||
ExternalRegistrationUserOverview: domain.ExternalRegistrationUserOverviewScreenText{},
|
||||
RegistrationOrg: domain.RegistrationOrgScreenText{},
|
||||
LinkingUsersDone: domain.LinkingUserDoneScreenText{},
|
||||
ExternalNotFoundOption: domain.ExternalUserNotFoundScreenText{},
|
||||
ExternalNotFound: domain.ExternalUserNotFoundScreenText{},
|
||||
LoginSuccess: domain.SuccessLoginScreenText{},
|
||||
LogoutDone: domain.LogoutDoneScreenText{},
|
||||
Footer: domain.FooterText{},
|
||||
@@ -8543,7 +8543,7 @@ func TestCommandSide_SetCustomIAMLoginText(t *testing.T) {
|
||||
CancelButtonText: "CancelButtonText",
|
||||
NextButtonText: "NextButtonText",
|
||||
},
|
||||
ExternalNotFoundOption: domain.ExternalUserNotFoundScreenText{
|
||||
ExternalNotFound: domain.ExternalUserNotFoundScreenText{
|
||||
Title: "Title",
|
||||
Description: "Description",
|
||||
LinkButtonText: "LinkButtonText",
|
||||
|
||||
Reference in New Issue
Block a user