mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix: add texts after template reset (#6237)
* fix: add texts after template reset
* fix unit tests
(cherry picked from commit d937ee3dda
)
This commit is contained in:
parent
61742139e0
commit
5828dd493d
File diff suppressed because it is too large
Load Diff
@ -801,6 +801,11 @@ func TestCommandSide_SetCustomOrgLoginText(t *testing.T) {
|
||||
&org.NewAggregate("org1").Aggregate, domain.LoginCustomText, domain.LoginKeyRegistrationOptionExternalLoginDescription, "ExternalLoginDescription", language.English,
|
||||
),
|
||||
),
|
||||
eventFromEventPusher(
|
||||
org.NewCustomTextSetEvent(context.Background(),
|
||||
&org.NewAggregate("org1").Aggregate, domain.LoginCustomText, domain.LoginKeyRegistrationOptionLoginButtonText, "LoginButtonText", language.English,
|
||||
),
|
||||
),
|
||||
eventFromEventPusher(
|
||||
org.NewCustomTextSetEvent(context.Background(),
|
||||
&org.NewAggregate("org1").Aggregate, domain.LoginCustomText, domain.LoginKeyRegistrationUserTitle, "Title", language.English,
|
||||
@ -1372,6 +1377,7 @@ func TestCommandSide_SetCustomOrgLoginText(t *testing.T) {
|
||||
Description: "Description",
|
||||
RegisterUsernamePasswordButtonText: "RegisterUsernamePasswordButtonText",
|
||||
ExternalLoginDescription: "ExternalLoginDescription",
|
||||
LoginButtonText: "LoginButtonText",
|
||||
},
|
||||
RegistrationUser: domain.RegistrationUserScreenText{
|
||||
Title: "Title",
|
||||
|
Loading…
Reference in New Issue
Block a user