Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
1a98476f
Commit
1a98476f
authored
Oct 30, 2020
by
minibikini
Browse files
Remove unused aliases
parent
131f3219
Pipeline
#32396
passed with stages
in 23 minutes and 39 seconds
Changes
12
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/pleroma/web/admin_api/controllers/admin_api_controller_test.exs
View file @
1a98476f
...
...
@@ -11,7 +11,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
import
Swoosh
.
TestAssertions
alias
Pleroma
.
Activity
alias
Pleroma
.
Config
alias
Pleroma
.
MFA
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Repo
...
...
test/pleroma/web/admin_api/controllers/chat_controller_test.exs
View file @
1a98476f
...
...
@@ -9,7 +9,6 @@ defmodule Pleroma.Web.AdminAPI.ChatControllerTest do
alias
Pleroma
.
Chat
alias
Pleroma
.
Chat
.
MessageReference
alias
Pleroma
.
Config
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Object
alias
Pleroma
.
Repo
...
...
test/pleroma/web/admin_api/controllers/instance_document_controller_test.exs
View file @
1a98476f
...
...
@@ -5,7 +5,6 @@
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>)
...
...
test/pleroma/web/admin_api/controllers/o_auth_app_controller_test.exs
View file @
1a98476f
...
...
@@ -8,7 +8,6 @@ defmodule Pleroma.Web.AdminAPI.OAuthAppControllerTest do
import
Pleroma
.
Factory
alias
Pleroma
.
Config
alias
Pleroma
.
Web
setup
do
...
...
test/pleroma/web/admin_api/controllers/relay_controller_test.exs
View file @
1a98476f
...
...
@@ -7,7 +7,6 @@ defmodule Pleroma.Web.AdminAPI.RelayControllerTest do
import
Pleroma
.
Factory
alias
Pleroma
.
Config
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Repo
alias
Pleroma
.
User
...
...
test/pleroma/web/admin_api/controllers/report_controller_test.exs
View file @
1a98476f
...
...
@@ -8,7 +8,6 @@ defmodule Pleroma.Web.AdminAPI.ReportControllerTest do
import
Pleroma
.
Factory
alias
Pleroma
.
Activity
alias
Pleroma
.
Config
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Repo
alias
Pleroma
.
ReportNote
...
...
test/pleroma/web/admin_api/controllers/status_controller_test.exs
View file @
1a98476f
...
...
@@ -8,7 +8,6 @@ defmodule Pleroma.Web.AdminAPI.StatusControllerTest do
import
Pleroma
.
Factory
alias
Pleroma
.
Activity
alias
Pleroma
.
Config
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Repo
alias
Pleroma
.
User
...
...
test/pleroma/web/admin_api/controllers/user_controller_test.exs
View file @
1a98476f
...
...
@@ -9,7 +9,6 @@ defmodule Pleroma.Web.AdminAPI.UserControllerTest do
import
Mock
import
Pleroma
.
Factory
alias
Pleroma
.
Config
alias
Pleroma
.
HTML
alias
Pleroma
.
ModerationLog
alias
Pleroma
.
Repo
...
...
test/pleroma/web/mastodon_api/controllers/timeline_controller_test.exs
View file @
1a98476f
...
...
@@ -8,7 +8,6 @@ defmodule Pleroma.Web.MastodonAPI.TimelineControllerTest do
import
Pleroma
.
Factory
import
Tesla
.
Mock
alias
Pleroma
.
Config
alias
Pleroma
.
User
alias
Pleroma
.
Web
.
CommonAPI
...
...
test/pleroma/web/pleroma_api/controllers/user_import_controller_test.exs
View file @
1a98476f
...
...
@@ -6,7 +6,6 @@ defmodule Pleroma.Web.PleromaAPI.UserImportControllerTest do
use
Pleroma
.
Web
.
ConnCase
use
Oban
.
Testing
,
repo:
Pleroma
.
Repo
alias
Pleroma
.
Config
alias
Pleroma
.
Tests
.
ObanHelpers
import
Pleroma
.
Factory
...
...
test/pleroma/web/plugs/http_security_plug_test.exs
View file @
1a98476f
...
...
@@ -5,7 +5,6 @@
defmodule
Pleroma
.
Web
.
Plugs
.
HTTPSecurityPlugTest
do
use
Pleroma
.
Web
.
ConnCase
alias
Pleroma
.
Config
alias
Plug
.
Conn
describe
"http security enabled"
do
...
...
test/pleroma/web/twitter_api/remote_follow_controller_test.exs
View file @
1a98476f
...
...
@@ -5,7 +5,6 @@
defmodule
Pleroma
.
Web
.
TwitterAPI
.
RemoteFollowControllerTest
do
use
Pleroma
.
Web
.
ConnCase
alias
Pleroma
.
Config
alias
Pleroma
.
MFA
alias
Pleroma
.
MFA
.
TOTP
alias
Pleroma
.
User
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment