Browse Source

Merge branch 'fix-buggy-test' into 'develop'

Fix buggy test.

See merge request pleroma/pleroma!693
tags/v0.9.9
rinpatch 5 years ago
parent
commit
afb8d9ec13
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/web/activity_pub/transmogrifier_test.exs

+ 2
- 2
test/web/activity_pub/transmogrifier_test.exs View File

@@ -914,7 +914,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
assert modified["directMessage"] == false

{: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)

@@ -922,7 +922,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do

{:ok, activity} =
CommonAPI.post(user, %{
"status" => "@{other_user.nickname} :moominmamma:",
"status" => "@#{other_user.nickname} :moominmamma:",
"visibility" => "direct"
})



Loading…
Cancel
Save