Fix bug when no posts are in the db.
This commit is contained in:
parent
8a1a7191fd
commit
046bee34d3
2 changed files with 3 additions and 1 deletions
|
|
@ -82,6 +82,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
|
|||
|
||||
describe "public fetch activities" do
|
||||
test "retrieves public activities" do
|
||||
activities = ActivityPub.fetch_public_activities
|
||||
|
||||
%{public: public} = ActivityBuilder.public_and_non_public
|
||||
|
||||
activities = ActivityPub.fetch_public_activities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue