From 0d83b6d1774ea1ee53a8a538315203929bc4e12f Mon Sep 17 00:00:00 2001 From: Lain Soykaf Date: Sun, 10 Dec 2023 19:59:02 +0400 Subject: [PATCH] Linting --- test/pleroma/user/backup_async_test.exs | 2 +- .../web/pleroma_api/controllers/backup_controller_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pleroma/user/backup_async_test.exs b/test/pleroma/user/backup_async_test.exs index b0e965c5d..76716d684 100644 --- a/test/pleroma/user/backup_async_test.exs +++ b/test/pleroma/user/backup_async_test.exs @@ -8,9 +8,9 @@ defmodule Pleroma.User.BackupAsyncTest do import Pleroma.Factory import Mox + alias Pleroma.UnstubbedConfigMock, as: ConfigMock alias Pleroma.User.Backup alias Pleroma.User.Backup.ProcessorMock - alias Pleroma.UnstubbedConfigMock, as: ConfigMock setup do user = insert(:user, %{nickname: "cofe", name: "Cofe", ap_id: "http://cofe.io/users/cofe"}) diff --git a/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs b/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs index 33e0ff84f..21e619fa4 100644 --- a/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs +++ b/test/pleroma/web/pleroma_api/controllers/backup_controller_test.exs @@ -5,9 +5,9 @@ defmodule Pleroma.Web.PleromaAPI.BackupControllerTest do use Pleroma.Web.ConnCase + alias Pleroma.UnstubbedConfigMock, as: ConfigMock alias Pleroma.User.Backup alias Pleroma.Web.PleromaAPI.BackupView - alias Pleroma.UnstubbedConfigMock, as: ConfigMock setup do clear_config([Pleroma.Upload, :uploader])