feat(org): add organization and membership contract and storage

This commit is contained in:
shira committed 2026-10-06 15:55:29 +03:00
1 parent a0551a34b8
commit bdc5855001
90 files changed
+17545 -480

No files matched your search

+2 -1
View File
@@ -10,6 +10,7 @@ import (
"log/slog"
"net/http"
"net/http/httptest"
"slices"
"strings"
"sync"
"testing"
@@ -134,7 +135,7 @@ func TestMailDelivery(t *testing.T) {
{"consumer_processed_events"},
{"consumer_dead_letters"},
}, deliveryTables...)
truncateTables(ctx, t, pool, append(append(tables, identityTables...), consentTables...)...)
truncateTables(ctx, t, pool, slices.Concat(tables, usersDependentTables)...)
}
t.Run("one event processed twice through the consumer creates one delivery", func(t *testing.T) {