Commit 478a05b4 authored by Karen Konou's avatar Karen Konou

Merged "check mute" test into the other two

parent 638456ce
Pipeline #7337 passed with stages
in 3 minutes and 30 seconds
......@@ -20,6 +20,7 @@ defmodule Pleroma.Web.ThreadMuteTest do
test "add mute", %{user: user, activity: activity} do
id = activity.id
{:ok, _activity} = add_mute(user, id)
assert muted?(user, activity)
end
test "remove mute", %{user: user, activity: activity} do
......@@ -27,14 +28,6 @@ defmodule Pleroma.Web.ThreadMuteTest do
add_mute(user, id)
{:ok, _activity} = remove_mute(user, id)
end
test "check mute", %{user: user, activity: activity} do
id = activity.id
add_mute(user, id)
assert muted?(user, activity)
remove_mute(user, id)
refute muted?(user, activity)
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment