projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature/jobs' 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..87b01d89b5cba80b5a381eb0067ef41bf7272095 100644
(file)
--- a/
test/web/websub/websub_controller_test.exs
+++ b/
test/web/websub/websub_controller_test.exs
@@
-6,7
+6,8
@@
defmodule Pleroma.Web.Websub.WebsubControllerTest do
use Pleroma.Web.ConnCase
import Pleroma.Factory
alias Pleroma.Web.Websub.WebsubClientSubscription
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
test "websub subscription request", %{conn: conn} do
alias Pleroma.Web.Websub
test "websub subscription request", %{conn: conn} do
@@
-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