renaming back and reject nil on create
This commit is contained in:
parent
52ff75413a
commit
20c27bef40
5 changed files with 35 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue