Credo fixes.

This commit is contained in:
Lain Soykaf 2023-11-12 17:13:27 +04:00
parent 59018d73c3
commit 3d62c71edf
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ defmodule Pleroma.Config.Getting do
def get(key), do: get(key, nil)
def get(key, default), do: impl().get(key, default)
def impl() do
def impl do
Application.get_env(:pleroma, :config_impl, Pleroma.Config)
end
end

View File

@ -4,11 +4,11 @@
defmodule Pleroma.Search.DatabaseSearch do
alias Pleroma.Activity
alias Pleroma.Config
alias Pleroma.Object.Fetcher
alias Pleroma.Pagination
alias Pleroma.User
alias Pleroma.Web.ActivityPub.Visibility
alias Pleroma.Config
require Pleroma.Constants

View File

@ -13,9 +13,9 @@ defmodule Pleroma.Search.MeilisearchTest do
import Mox
alias Pleroma.Search.Meilisearch
alias Pleroma.UnstubbedConfigMock, as: Config
alias Pleroma.Web.CommonAPI
alias Pleroma.Workers.SearchIndexingWorker
alias Pleroma.UnstubbedConfigMock, as: Config
describe "meilisearch" do
test "indexes a local post on creation" do