add test
This commit is contained in:
parent
99cf1ef9be
commit
922e3d082c
3 changed files with 21 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue