projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/develop' into chore/elixir-1.11
[akkoma]
/
test
/
pleroma
/
web
/
common_api_test.exs
diff --git
a/test/pleroma/web/common_api_test.exs
b/test/pleroma/web/common_api_test.exs
index a8e22d44f4da4a971e41386a63486f043fdbb1fc..64476a099e8b53920d098472baf9ec3ee524fc41 100644
(file)
--- a/
test/pleroma/web/common_api_test.exs
+++ b/
test/pleroma/web/common_api_test.exs
@@
-100,7
+100,7
@@
defmodule Pleroma.Web.CommonAPITest do
recipient = insert(:user)
file = %Plug.Upload{
recipient = insert(:user)
file = %Plug.Upload{
- content_type: "image/jpg",
+ content_type: "image/jp
e
g",
path: Path.absname("test/fixtures/image.jpg"),
filename: "an_image.jpg"
}
path: Path.absname("test/fixtures/image.jpg"),
filename: "an_image.jpg"
}
@@
-622,7
+622,7
@@
defmodule Pleroma.Web.CommonAPITest do
assert {:error, "The status is over the character limit"} =
CommonAPI.post(user, %{status: "foobar"})
assert {:error, "The status is over the character limit"} =
CommonAPI.post(user, %{status: "foobar"})
- assert {:ok, activity} = CommonAPI.post(user, %{status: "12345"})
+ assert {:ok,
_
activity} = CommonAPI.post(user, %{status: "12345"})
end
test "it can handle activities that expire" do
end
test "it can handle activities that expire" do