renaming back and reject nil on create

This commit is contained in:
Alexander Strizhakov 2020-02-26 17:50:56 +03:00
commit 20c27bef40
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
5 changed files with 35 additions and 31 deletions

View file

@ -334,7 +334,7 @@ defmodule Pleroma.NotificationTest do
{:ok, status} = CommonAPI.post(user, %{"status" => "got cofe?"})
assert {:ok, [nil]} == Notification.create_notifications(status)
assert {:ok, []} == Notification.create_notifications(status)
end
test "it creates notifications if content matches with a not irreversible filter" do