feat(consent): add versioned append-only consent ledger C1-C5
This commit is contained in:
1 parent
008254e44a
commit
de49f93b0b
64 files changed
+9244
-132
No files matched your search
@@ -70,8 +70,9 @@ func TestIdentityRepositories(t *testing.T) {
|
||||
// Subtests share tables and run sequentially; each starts from empty tables.
|
||||
reset := func(t *testing.T) {
|
||||
t.Helper()
|
||||
// The deliveries reference users, so TRUNCATE must name them too.
|
||||
truncateTables(ctx, t, pool, slices.Concat(identityTables, deliveryTables)...)
|
||||
// The deliveries and consent records reference users, so TRUNCATE
|
||||
// must name them too.
|
||||
truncateTables(ctx, t, pool, slices.Concat(identityTables, deliveryTables, consentTables)...)
|
||||
}
|
||||
|
||||
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