Amend tests.
Fixes some logging indicating non-breaking test configuration when testing with verboseness on.
このコミットが含まれているのは:
コミット
61807300f6
|
@ -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)
|
||||
|
|
読み込み中…
新しいイシューから参照