forked from AkkomaGang/akkoma
Formatting
This commit is contained in:
parent
9eea800026
commit
4c82f657c5
1 changed files with 6 additions and 2 deletions
|
@ -237,7 +237,9 @@ test "it disables notifications from followers" do
|
|||
follower = insert(:user)
|
||||
|
||||
followed =
|
||||
insert(:user, notification_settings: %Pleroma.User.NotificationSetting{from_followers: false})
|
||||
insert(:user,
|
||||
notification_settings: %Pleroma.User.NotificationSetting{from_followers: false}
|
||||
)
|
||||
|
||||
User.follow(follower, followed)
|
||||
{:ok, activity} = CommonAPI.post(follower, %{status: "hey @#{followed.nickname}"})
|
||||
|
@ -258,7 +260,9 @@ test "it disables notifications from strangers" do
|
|||
|
||||
test "it disables notifications from people the user follows" do
|
||||
follower =
|
||||
insert(:user, notification_settings: %Pleroma.User.NotificationSetting{from_following: false})
|
||||
insert(:user,
|
||||
notification_settings: %Pleroma.User.NotificationSetting{from_following: false}
|
||||
)
|
||||
|
||||
followed = insert(:user)
|
||||
User.follow(follower, followed)
|
||||
|
|
Loading…
Reference in a new issue