feat(notification): add durable mail delivery state
This commit is contained in:
1 parent
391c8a6cec
commit
2db585fbff
41 files changed
+4903
-108
No files matched your search
@@ -7,6 +7,7 @@ import (
|
||||
"crypto/sha256"
|
||||
"errors"
|
||||
"fmt"
|
||||
"slices"
|
||||
"strings"
|
||||
"sync"
|
||||
"testing"
|
||||
@@ -69,7 +70,8 @@ func TestIdentityRepositories(t *testing.T) {
|
||||
// Subtests share tables and run sequentially; each starts from empty tables.
|
||||
reset := func(t *testing.T) {
|
||||
t.Helper()
|
||||
truncateTables(ctx, t, pool, identityTables...)
|
||||
// The deliveries reference users, so TRUNCATE must name them too.
|
||||
truncateTables(ctx, t, pool, slices.Concat(identityTables, deliveryTables)...)
|
||||
}
|
||||
|
||||
t.Run("stores an account and finds it by ID and by any case of its email", func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user