projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'features/pleroma-tan' into 'develop'
[akkoma]
/
test
/
web
/
websub
/
websub_controller_test.exs
diff --git
a/test/web/websub/websub_controller_test.exs
b/test/web/websub/websub_controller_test.exs
index 6492df2a0b5c0167fbf3229c41c16e9e02bdebb3..1e69ed01a38ec6eca84d22c6524aaf999ac5c0df 100644
(file)
--- a/
test/web/websub/websub_controller_test.exs
+++ b/
test/web/websub/websub_controller_test.exs
@@
-5,9
+5,10
@@
defmodule Pleroma.Web.Websub.WebsubControllerTest do
use Pleroma.Web.ConnCase
import Pleroma.Factory
defmodule Pleroma.Web.Websub.WebsubControllerTest do
use Pleroma.Web.ConnCase
import Pleroma.Factory
- alias Pleroma.
Web.Websub.WebsubClientSubscription
- alias Pleroma.
{Repo, Activity}
+ alias Pleroma.
Activity
+ alias Pleroma.
Repo
alias Pleroma.Web.Websub
alias Pleroma.Web.Websub
+ alias Pleroma.Web.Websub.WebsubClientSubscription
test "websub subscription request", %{conn: conn} do
user = insert(:user)
test "websub subscription request", %{conn: conn} do
user = insert(:user)
@@
-80,7
+81,7
@@
defmodule Pleroma.Web.Websub.WebsubControllerTest do
assert response(conn, 500) == "Error"
assert response(conn, 500) == "Error"
- assert
length(Repo.all(Activity)) == 0
+ assert
Enum.empty?(Repo.all(Activity))
end
end
end
end
end
end