logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: b13820dcd078c78cc89974ff0d06cff1ed5c99dc
parent 190120fd7948751fc74eea3a65de19d5b7ed2753
Author: Lain Soykaf <lain@lain.com>
Date:   Tue, 12 Dec 2023 14:09:22 +0400

Tests: Remove `skip_on_mac` tag

Diffstat:

Mtest/pleroma/activity_test.exs1-
Mtest/pleroma/web/mastodon_api/controllers/search_controller_test.exs1-
Mtest/test_helper.exs3+--
3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/test/pleroma/activity_test.exs b/test/pleroma/activity_test.exs @@ -145,7 +145,6 @@ defmodule Pleroma.ActivityTest do setup do: clear_config([:instance, :limit_to_local_content]) - @tag :skip_on_mac test "finds utf8 text in statuses", %{ japanese_activity: japanese_activity, user: user diff --git a/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs @@ -42,7 +42,6 @@ defmodule Pleroma.Web.MastodonAPI.SearchControllerTest do end end - @tag :skip_on_mac test "search", %{conn: conn} do user = insert(:user) user_two = insert(:user, %{nickname: "shp@shitposter.club"}) diff --git a/test/test_helper.exs b/test/test_helper.exs @@ -4,8 +4,7 @@ Code.put_compiler_option(:warnings_as_errors, true) -os_exclude = if :os.type() == {:unix, :darwin}, do: [skip_on_mac: true], else: [] -ExUnit.start(exclude: [:federated, :erratic] ++ os_exclude) +ExUnit.start(exclude: [:federated, :erratic]) Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)