diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-26 17:50:56 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-06 09:30:42 +0300 |
commit | 20c27bef4083330a2415f1c0a04e4cad128b267a (patch) | |
tree | 4b5c49683df64ae344b33596f4a4dcd33f8a3b03 /test/notification_test.exs | |
parent | 52ff75413a5a73f045c7b515a06ae40eb568dfa8 (diff) | |
download | pleroma-20c27bef4083330a2415f1c0a04e4cad128b267a.tar.gz pleroma-20c27bef4083330a2415f1c0a04e4cad128b267a.zip |
renaming back and reject nil on create
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r-- | test/notification_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs index 3279ea61e..898c804cb 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -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 |