Skip tests on MacOS/Darwin that have always failed
This commit is contained in:
parent
012ab87605
commit
e44f6a2ab3
|
@ -145,6 +145,7 @@ test "when association is not loaded" do
|
|||
|
||||
setup do: clear_config([:instance, :limit_to_local_content])
|
||||
|
||||
@tag :skip_darwin
|
||||
test "finds utf8 text in statuses", %{
|
||||
japanese_activity: japanese_activity,
|
||||
user: user
|
||||
|
|
|
@ -42,6 +42,7 @@ test "it returns empty result if user or status search return undefined error",
|
|||
end
|
||||
end
|
||||
|
||||
@tag :skip_darwin
|
||||
test "search", %{conn: conn} do
|
||||
user = insert(:user)
|
||||
user_two = insert(:user, %{nickname: "shp@shitposter.club"})
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
|
||||
ExUnit.start(exclude: [:federated, :erratic])
|
||||
|
||||
if match?({:unix, :darwin}, :os.type()) do
|
||||
excluded = ExUnit.configuration() |> Keyword.get(:exclude, [])
|
||||
excluded = excluded ++ [:skip_darwin]
|
||||
ExUnit.configure(exclude: excluded)
|
||||
end
|
||||
|
||||
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
|
||||
|
||||
Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client)
|
||||
|
|
Loading…
Reference in New Issue