···
defer cleanupTestDB(t, db)
repo := createTestCommunityRepo(t, db)
26
-
consumer := jetstream.NewCommunityEventConsumer(repo)
26
+
// Skip verification in tests
27
+
consumer := jetstream.NewCommunityEventConsumer(repo, "did:web:coves.local", true)
// Create a test community first (with unique DID)
testDID := fmt.Sprintf("did:plc:test-community-%d", time.Now().UnixNano())
···
defer cleanupTestDB(t, db)
repo := createTestCommunityRepo(t, db)
249
-
consumer := jetstream.NewCommunityEventConsumer(repo)
250
+
// Skip verification in tests
251
+
consumer := jetstream.NewCommunityEventConsumer(repo, "did:web:coves.local", true)
// Create test community (with unique DID)
testDID := fmt.Sprintf("did:plc:test-unsub-%d", time.Now().UnixNano())
···
defer cleanupTestDB(t, db)
repo := createTestCommunityRepo(t, db)
363
-
consumer := jetstream.NewCommunityEventConsumer(repo)
365
+
// Skip verification in tests
366
+
consumer := jetstream.NewCommunityEventConsumer(repo, "did:web:coves.local", true)
// Create test community (with unique DID)
testDID := fmt.Sprintf("did:plc:test-subcount-%d", time.Now().UnixNano())