+62
-69
tests/integration/community_e2e_test.go
····································+subscription, err := communityService.SubscribeToCommunity(ctx, instanceDID, accessToken, community.DID)············-func createAndIndexCommunity(t *testing.T, service communities.Service, consumer *jetstream.CommunityEventConsumer, instanceDID string) *communities.Community {+func createAndIndexCommunity(t *testing.T, service communities.Service, consumer *jetstream.CommunityEventConsumer, instanceDID, pdsURL string) *communities.Community {···pdsResp, pdsErr := http.Get(fmt.Sprintf("%s/xrpc/com.atproto.repo.getRecord?repo=%s&collection=%s&rkey=%s",······-// communityTestIdentityResolver is a simple mock for testing (renamed to avoid conflict with oauth_test)-func (m *communityTestIdentityResolver) ResolveHandle(ctx context.Context, handle string) (string, string, error) {-func (m *communityTestIdentityResolver) ResolveDID(ctx context.Context, did string) (*identity.DIDDocument, error) {-func (m *communityTestIdentityResolver) Resolve(ctx context.Context, identifier string) (*identity.Identity, error) {-func (m *communityTestIdentityResolver) Purge(ctx context.Context, identifier string) error {
+5
-10
tests/integration/community_service_integration_test.go
···············