diff options
author | Francis Dinh <normandy@firemail.cc> | 2018-03-27 02:08:46 -0400 |
---|---|---|
committer | Francis Dinh <normandy@firemail.cc> | 2018-03-27 02:08:46 -0400 |
commit | 9556c8f6e720a1b63df16d7165a40936b52fc0b4 (patch) | |
tree | a9bdbf09acb9c631820851a0497e714f0ec42c68 | |
parent | 5ba2f4b6d8ba9f80a392b1298758f257d59cb853 (diff) | |
download | pleroma-9556c8f6e720a1b63df16d7165a40936b52fc0b4.tar.gz |
Forgot to fix one of the links in a test
-rw-r--r-- | test/web/twitter_api/twitter_api_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 740371880..715a746ef 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -34,7 +34,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do { :ok, activity = %Activity{} } = TwitterAPI.create_status(user, input) - expected_text = "Hello again, <span><a href='shp'>@<span>shp</span></a></span>.<script></script><br>This is on another :moominmamma: line. <a href='http://localhost:4001/tag/2hu' rel='tag'>#2hu</a> #<a href='http://localhost:4001/tag/epic' rel='tag'>epic</a> <a href='http://localhost:4001/tag/phantasmagoric' rel='tag'>#phantasmagoric</a><br><a href=\"http://example.org/image.jpg\" class='attachment'>image.jpg</a>" + expected_text = "Hello again, <span><a href='shp'>@<span>shp</span></a></span>.<script></script><br>This is on another :moominmamma: line. <a href='http://localhost:4001/tag/2hu' rel='tag'>#2hu</a> <a href='http://localhost:4001/tag/epic' rel='tag'>#epic</a> <a href='http://localhost:4001/tag/phantasmagoric' rel='tag'>#phantasmagoric</a><br><a href=\"http://example.org/image.jpg\" class='attachment'>image.jpg</a>" assert get_in(activity.data, ["object", "content"]) == expected_text assert get_in(activity.data, ["object", "type"]) == "Note" assert get_in(activity.data, ["object", "actor"]) == user.ap_id |