Add factories for testing.

This commit is contained in:
Roger Braun 2017-04-13 15:49:24 +02:00
commit 4cac385411
4 changed files with 50 additions and 0 deletions

View file

@ -1,4 +1,5 @@
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
{:ok, _} = Application.ensure_all_started(:ex_machina)