This commit is contained in:
Maksim Pechnikov 2019-10-24 09:50:41 +03:00
commit 922e3d082c
3 changed files with 21 additions and 13 deletions

View file

@ -21,6 +21,12 @@ defmodule Pleroma.MarkerTest do
"notifications"
)
end
test "return empty multi" do
user = insert(:user)
multi = Ecto.Multi.new()
assert Marker.multi_set_unread_count(multi, user, "home") == multi
end
end
describe "get_markers/2" do