Improvements to group page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -53,7 +53,8 @@ defmodule Mobilizon.Factory do
|
||||
outbox_url: Actor.build_url(preferred_username, :outbox),
|
||||
shared_inbox_url: "#{Endpoint.url()}/inbox",
|
||||
last_refreshed_at: DateTime.utc_now(),
|
||||
user: build(:user)
|
||||
user: build(:user),
|
||||
visibility: :public
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ defmodule Mobilizon.Web.FeedControllerTest do
|
||||
|
||||
test "it returns a 404 for the actor's public events Atom feed if the actor is not publicly visible",
|
||||
%{conn: conn} do
|
||||
actor = insert(:actor)
|
||||
actor = insert(:actor, visibility: :private)
|
||||
tag1 = insert(:tag, title: "RSS", slug: "rss")
|
||||
tag2 = insert(:tag, title: "ATOM", slug: "atom")
|
||||
insert(:event, organizer_actor: actor, tags: [tag1])
|
||||
|
||||
Reference in New Issue
Block a user