Fixes some logging indicating non-breaking test configuration when
testing with verboseness on.
このコミットが含まれているのは:
Cory Slep 2018-05-12 23:05:42 +02:00
コミット 61807300f6
1個のファイルの変更4行の追加1行の削除

ファイルの表示

@ -4498,7 +4498,7 @@ func TestPostOutbox_Add_IsDelivered(t *testing.T) {
app.owns = func(c context.Context, iri url.URL) bool {
return false
}
socialCb.reject = func(c context.Context, s *streams.Reject) error {
socialCb.add = func(c context.Context, s *streams.Add) error {
return nil
}
gotHttpDo := 0
@ -4872,6 +4872,9 @@ func TestPostOutbox_Like_DoesNotAddIfCollectionNotOwned(t *testing.T) {
gotOwnsIri = iri
return false
}
socialCb.like = func(c context.Context, s *streams.Like) error {
return nil
}
handled, err := p.PostOutbox(context.Background(), resp, req)
if err != nil {
t.Fatal(err)