summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_controller_test.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-05 02:30:19 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-13 04:17:30 +0100
commit6c8743d0c00e5bb6edffced4b60d3802004f9dc4 (patch)
tree27f4855ab8dc5dad576aed719b0962c8826485db /test/web/twitter_api/twitter_api_controller_test.exs
parentd93ab4817b9e0cd5f29851722aa8ed9e39a04f32 (diff)
downloadpleroma-6c8743d0c00e5bb6edffced4b60d3802004f9dc4.tar.gz
pleroma-6c8743d0c00e5bb6edffced4b60d3802004f9dc4.zip
[Credo] Fix the warnings
Diffstat (limited to 'test/web/twitter_api/twitter_api_controller_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs
index ce0812308..ec4d07f17 100644
--- a/test/web/twitter_api/twitter_api_controller_test.exs
+++ b/test/web/twitter_api/twitter_api_controller_test.exs
@@ -490,7 +490,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
response = json_response(conn, 200)
- assert length(response) == 0
+ assert Enum.empty?(response)
end
end