diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-28 15:25:06 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-01-28 15:25:06 +0300 |
commit | 1d2f41642cfec5710055bcf8409778bb362beecb (patch) | |
tree | 18ee9598a4dfcde0751c1f53e756e3e8a75331cc /test/support/factory.ex | |
parent | 9560abea102b8cd4927c9350bbd0a1a2f1800ea6 (diff) | |
download | pleroma-1d2f41642cfec5710055bcf8409778bb362beecb.tar.gz |
[#534] Various tweaks. Tests for Instances and Instance.
Diffstat (limited to 'test/support/factory.ex')
-rw-r--r-- | test/support/factory.ex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex index 964b2b61c..0c21093ce 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -220,4 +220,11 @@ defmodule Pleroma.Factory do client_secret: "aaa;/&bbb" } end + + def instance_factory do + %Pleroma.Instances.Instance{ + host: "domain.com", + unreachable_since: nil + } + end end |