diff --git a/pub/fed_test.go b/pub/fed_test.go index 3f4fb50..65fccb1 100644 --- a/pub/fed_test.go +++ b/pub/fed_test.go @@ -805,7 +805,6 @@ type MockFederateApp struct { t *testing.T onFollow func(c context.Context, s *streams.Follow) FollowResponse unblocked func(c context.Context, actorIRIs []*url.URL) error - getFollowing func(c context.Context, actor *url.URL) (vocab.CollectionType, error) filterForwarding func(c context.Context, activity vocab.ActivityType, iris []*url.URL) ([]*url.URL, error) newSigner func() (httpsig.Signer, error) privateKey func(boxIRI *url.URL) (crypto.PrivateKey, string, error) @@ -825,13 +824,6 @@ func (m *MockFederateApp) Unblocked(c context.Context, actorIRIs []*url.URL) err return m.unblocked(c, actorIRIs) } -func (m *MockFederateApp) GetFollowing(c context.Context, actor *url.URL) (vocab.CollectionType, error) { - if m.getFollowing == nil { - m.t.Fatal("unexpected call to MockFederateApp GetFollowing") - } - return m.getFollowing(c, actor) -} - func (m *MockFederateApp) FilterForwarding(c context.Context, activity vocab.ActivityType, iris []*url.URL) ([]*url.URL, error) { if m.filterForwarding == nil { m.t.Fatal("unexpected call to MockFederateApp FilterForwarding")