feat: SMS and email OTP texts (#6281)

* manage 2 custom texts proto

* implement methods

* default texts

* console

* improve translations

* lint

* test: fix e2e timeout

* fix translations

* add missing console translations

* remove unused text parts

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Elio Bischof
2023-08-09 07:49:12 +02:00
committed by GitHub
parent 9aed9f9186
commit 343a9428b3
39 changed files with 1508 additions and 188 deletions

View File

@@ -299,7 +299,6 @@ func TestCustomTextProjection_reduces(t *testing.T) {
if _, ok := err.(errors.InvalidArgument); !ok {
t.Errorf("no wrong event mapping: %v, got: %v", err, got)
}
event = tt.args.event(t)
got, err = tt.reduce(event)
assertReduce(t, got, err, CustomTextTable, tt.want)