projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused functions and fix credo issues
[akkoma]
/
test
/
test_helper.exs
diff --git
a/test/test_helper.exs
b/test/test_helper.exs
index a2a9c7fd92294726906ee08994b463ed7950fa94..a927b2c3d8021267aedcc2057008e73d0df2116a 100644
(file)
--- a/
test/test_helper.exs
+++ b/
test/test_helper.exs
@@
-1,5
+1,9
@@
-ExUnit.start()
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+os_exclude = if :os.type() == {:unix, :darwin}, do: [skip_on_mac: true], else: []
+ExUnit.start(exclude: os_exclude)
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
+Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client)
{:ok, _} = Application.ensure_all_started(:ex_machina)
{:ok, _} = Application.ensure_all_started(:ex_machina)
-