Merge branch 'fix-buggy-test' into 'develop'
Fix buggy test. See merge request pleroma/pleroma!693
This commit is contained in:
commit
afb8d9ec13
@ -914,7 +914,7 @@ test "the directMessage flag is present" do
|
|||||||
assert modified["directMessage"] == false
|
assert modified["directMessage"] == false
|
||||||
|
|
||||||
{:ok, activity} =
|
{:ok, activity} =
|
||||||
CommonAPI.post(user, %{"status" => "@{other_user.nickname} :moominmamma:"})
|
CommonAPI.post(user, %{"status" => "@#{other_user.nickname} :moominmamma:"})
|
||||||
|
|
||||||
{:ok, modified} = Transmogrifier.prepare_outgoing(activity.data)
|
{:ok, modified} = Transmogrifier.prepare_outgoing(activity.data)
|
||||||
|
|
||||||
@ -922,7 +922,7 @@ test "the directMessage flag is present" do
|
|||||||
|
|
||||||
{:ok, activity} =
|
{:ok, activity} =
|
||||||
CommonAPI.post(user, %{
|
CommonAPI.post(user, %{
|
||||||
"status" => "@{other_user.nickname} :moominmamma:",
|
"status" => "@#{other_user.nickname} :moominmamma:",
|
||||||
"visibility" => "direct"
|
"visibility" => "direct"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user