Remove unused test method from previous interface.

このコミットが含まれているのは:
Cory Slep 2018-08-01 23:22:46 +02:00
コミット 10e099bd8a

ファイルの表示

@ -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")