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
@@ -62,7 +62,7 @@ func TestMailQuota(t *testing.T) {
|
||||
harness.recipients = &deliveryHarness{env: env, pool: pool, identity: postgresadapter.NewIdentityStore(pool), logs: harness.logs}
|
||||
reset := func(t *testing.T, now time.Time) domain.User {
|
||||
t.Helper()
|
||||
truncateTables(ctx, t, pool, append([]pgx.Identifier{mailQuotaUsageTable, mailQuotaReservationsTable}, append(deliveryTables, identityTables...)...)...)
|
||||
truncateTables(ctx, t, pool, append([]pgx.Identifier{mailQuotaUsageTable, mailQuotaReservationsTable}, append(append(deliveryTables, identityTables...), consentTables...)...)...)
|
||||
harness.now = now
|
||||
harness.recipients.now = now
|
||||
return harness.recipients.createRecipient(ctx, t, true)
|
||||
|
||||
Reference in new issue
Block a user