projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
131f321
)
Remove unused aliases
author
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 30 Oct 2020 12:39:14 +0000
(16:39 +0400)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 30 Oct 2020 14:42:43 +0000
(18:42 +0400)
12 files changed:
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/chat_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/relay_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/report_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/status_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/admin_api/controllers/user_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
patch
|
blob
|
history
test/pleroma/web/plugs/http_security_plug_test.exs
patch
|
blob
|
history
test/pleroma/web/twitter_api/remote_follow_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
b/test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
index 34b26dddfe5c34c3ae38363e8d6bc60528fc7a77..e2d6d5f6eb5c62a49e86307d5df084e3397bdf0e 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
@@
-11,7
+11,6
@@
defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
import Swoosh.TestAssertions
alias Pleroma.Activity
import Swoosh.TestAssertions
alias Pleroma.Activity
- alias Pleroma.Config
alias Pleroma.MFA
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.MFA
alias Pleroma.ModerationLog
alias Pleroma.Repo
diff --git
a/test/pleroma/web/admin_api/controllers/chat_controller_test.exs
b/test/pleroma/web/admin_api/controllers/chat_controller_test.exs
index bd4c9c9d15d0a30f5e3474c41b9b9cac99a17d5a..5aefa1e603f18fad18abb025a1d72b8950486c60 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/chat_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/chat_controller_test.exs
@@
-9,7
+9,6
@@
defmodule Pleroma.Web.AdminAPI.ChatControllerTest do
alias Pleroma.Chat
alias Pleroma.Chat.MessageReference
alias Pleroma.Chat
alias Pleroma.Chat.MessageReference
- alias Pleroma.Config
alias Pleroma.ModerationLog
alias Pleroma.Object
alias Pleroma.Repo
alias Pleroma.ModerationLog
alias Pleroma.Object
alias Pleroma.Repo
diff --git
a/test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
b/test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
index 5f7b042f665ddd5a3fab9f7a8fc5a8ec6df94784..ce867dd0e5fa637174895301d28a2be74b09f00b 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
@@
-5,7
+5,6
@@
defmodule Pleroma.Web.AdminAPI.InstanceDocumentControllerTest do
use Pleroma.Web.ConnCase, async: true
import Pleroma.Factory
defmodule Pleroma.Web.AdminAPI.InstanceDocumentControllerTest do
use Pleroma.Web.ConnCase, async: true
import Pleroma.Factory
- alias Pleroma.Config
@dir "test/tmp/instance_static"
@default_instance_panel ~s(<p>Welcome to <a href="https://pleroma.social" target="_blank">Pleroma!</a></p>)
@dir "test/tmp/instance_static"
@default_instance_panel ~s(<p>Welcome to <a href="https://pleroma.social" target="_blank">Pleroma!</a></p>)
diff --git
a/test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
b/test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
index ed7c4172c65b8fbeb3eceea58d2bce5319bfd3fd..f388375d1d6cf99a185791783dacf316de4de404 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
@@
-8,7
+8,6
@@
defmodule Pleroma.Web.AdminAPI.OAuthAppControllerTest do
import Pleroma.Factory
import Pleroma.Factory
- alias Pleroma.Config
alias Pleroma.Web
setup do
alias Pleroma.Web
setup do
diff --git
a/test/pleroma/web/admin_api/controllers/relay_controller_test.exs
b/test/pleroma/web/admin_api/controllers/relay_controller_test.exs
index adadf2b5ce71bb3231f7ce433d5893448bb2aa0e..b4c5e756796402df08347e12e058354782f61733 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/relay_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/relay_controller_test.exs
@@
-7,7
+7,6
@@
defmodule Pleroma.Web.AdminAPI.RelayControllerTest do
import Pleroma.Factory
import Pleroma.Factory
- alias Pleroma.Config
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.User
diff --git
a/test/pleroma/web/admin_api/controllers/report_controller_test.exs
b/test/pleroma/web/admin_api/controllers/report_controller_test.exs
index 57946e6bb6a65f1e9e7e14a1e8b398065fff6873..fa746d6eaff0f3f6433e75deec80cf5e2f4ac6d8 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/report_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/report_controller_test.exs
@@
-8,7
+8,6
@@
defmodule Pleroma.Web.AdminAPI.ReportControllerTest do
import Pleroma.Factory
alias Pleroma.Activity
import Pleroma.Factory
alias Pleroma.Activity
- alias Pleroma.Config
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.ReportNote
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.ReportNote
diff --git
a/test/pleroma/web/admin_api/controllers/status_controller_test.exs
b/test/pleroma/web/admin_api/controllers/status_controller_test.exs
index eff78fb0a1f02e7294e5ad0b8bca671db8d8c968..a18ef9e4b31fe2bc4db9d10906fa1e2826ea0fd6 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/status_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/status_controller_test.exs
@@
-8,7
+8,6
@@
defmodule Pleroma.Web.AdminAPI.StatusControllerTest do
import Pleroma.Factory
alias Pleroma.Activity
import Pleroma.Factory
alias Pleroma.Activity
- alias Pleroma.Config
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.User
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.User
diff --git
a/test/pleroma/web/admin_api/controllers/user_controller_test.exs
b/test/pleroma/web/admin_api/controllers/user_controller_test.exs
index da26caf25978a699bbde819d94a2c1843ba3277d..5705306c74a1fa92e58a16d1316bea2b8c90ecdf 100644
(file)
--- a/
test/pleroma/web/admin_api/controllers/user_controller_test.exs
+++ b/
test/pleroma/web/admin_api/controllers/user_controller_test.exs
@@
-9,7
+9,6
@@
defmodule Pleroma.Web.AdminAPI.UserControllerTest do
import Mock
import Pleroma.Factory
import Mock
import Pleroma.Factory
- alias Pleroma.Config
alias Pleroma.HTML
alias Pleroma.ModerationLog
alias Pleroma.Repo
alias Pleroma.HTML
alias Pleroma.ModerationLog
alias Pleroma.Repo
diff --git
a/test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
b/test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
index c6e0268fdbdaa80fd885a93976d27f704a98260e..9f1ee04249db059c4524c076246e8e5ee2cd09f0 100644
(file)
--- a/
test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
+++ b/
test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
@@
-8,7
+8,6
@@
defmodule Pleroma.Web.MastodonAPI.TimelineControllerTest do
import Pleroma.Factory
import Tesla.Mock
import Pleroma.Factory
import Tesla.Mock
- alias Pleroma.Config
alias Pleroma.User
alias Pleroma.Web.CommonAPI
alias Pleroma.User
alias Pleroma.Web.CommonAPI
diff --git
a/test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
b/test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
index 433c97e81dd932e0229bfac37a5b056af2d3a785..68723de7141060164ac4de5893e36f1863cf6cba 100644
(file)
--- a/
test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
+++ b/
test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
@@
-6,7
+6,6
@@
defmodule Pleroma.Web.PleromaAPI.UserImportControllerTest do
use Pleroma.Web.ConnCase
use Oban.Testing, repo: Pleroma.Repo
use Pleroma.Web.ConnCase
use Oban.Testing, repo: Pleroma.Repo
- alias Pleroma.Config
alias Pleroma.Tests.ObanHelpers
import Pleroma.Factory
alias Pleroma.Tests.ObanHelpers
import Pleroma.Factory
diff --git
a/test/pleroma/web/plugs/http_security_plug_test.exs
b/test/pleroma/web/plugs/http_security_plug_test.exs
index 2297e3dac3d1106a83aa02844b14adf2b5193e73..df2b5ebb3a2b415d108c49954606f57fdb5f641c 100644
(file)
--- a/
test/pleroma/web/plugs/http_security_plug_test.exs
+++ b/
test/pleroma/web/plugs/http_security_plug_test.exs
@@
-5,7
+5,6
@@
defmodule Pleroma.Web.Plugs.HTTPSecurityPlugTest do
use Pleroma.Web.ConnCase
defmodule Pleroma.Web.Plugs.HTTPSecurityPlugTest do
use Pleroma.Web.ConnCase
- alias Pleroma.Config
alias Plug.Conn
describe "http security enabled" do
alias Plug.Conn
describe "http security enabled" do
diff --git
a/test/pleroma/web/twitter_api/remote_follow_controller_test.exs
b/test/pleroma/web/twitter_api/remote_follow_controller_test.exs
index 3852c7ce907f7080bebfe4006c81282db89e5599..a3e784d13b7c5ff9f420e37e96a7d12cd7b61e48 100644
(file)
--- a/
test/pleroma/web/twitter_api/remote_follow_controller_test.exs
+++ b/
test/pleroma/web/twitter_api/remote_follow_controller_test.exs
@@
-5,7
+5,6
@@
defmodule Pleroma.Web.TwitterAPI.RemoteFollowControllerTest do
use Pleroma.Web.ConnCase
defmodule Pleroma.Web.TwitterAPI.RemoteFollowControllerTest do
use Pleroma.Web.ConnCase
- alias Pleroma.Config
alias Pleroma.MFA
alias Pleroma.MFA.TOTP
alias Pleroma.User
alias Pleroma.MFA
alias Pleroma.MFA.TOTP
alias Pleroma.User