feat: set default language on instance (#3594)

This commit is contained in:
Livio Amstutz
2022-05-03 15:58:38 +02:00
committed by GitHub
parent 462fe10dab
commit 79db247801
12 changed files with 83 additions and 35 deletions
-15
View File
@@ -2856,21 +2856,6 @@ func TestAddHumanCommand(t *testing.T) {
ValidationErr: errors.ThrowInvalidArgument(nil, "USER-Ec7dM", "Errors.Invalid.Argument"),
},
},
{
name: "invalid preferred language",
args: args{
a: agg,
human: &AddHuman{
Username: "username",
Email: Email{
Address: "[email protected]",
},
},
},
want: Want{
ValidationErr: errors.ThrowInvalidArgument(nil, "USER-Sfd11", "Errors.Invalid.Argument"),
},
},
{
name: "invalid first name",
args: args{