projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#923] OAuthController#callback adjustments (with tests).
[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 04fb4a5a33ffe2d4d3c6ac42f8bffdcfbd2bb976..1e69ed01a38ec6eca84d22c6524aaf999ac5c0df 100644
(file)
--- a/
test/web/websub/websub_controller_test.exs
+++ b/
test/web/websub/websub_controller_test.exs
@@
-5,10
+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.Activity
alias Pleroma.Repo
alias Pleroma.Web.Websub
alias Pleroma.Activity
alias Pleroma.Repo
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)
@@
-81,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