diff options
author | Mike Verdone <spiral@arcseconds.net> | 2019-07-23 16:33:45 +0200 |
---|---|---|
committer | Mike Verdone <spiral@arcseconds.net> | 2019-07-24 14:46:08 +0200 |
commit | 36012ef6c1dfea2489e61063e14783fa3fb52700 (patch) | |
tree | d0acbe24ee235d8e841d4c9cd3a3951483ae7b0a /test/support | |
parent | 704960b3c135d2e050308c68f5ccf5d7b7df40f8 (diff) | |
download | pleroma-36012ef6c1dfea2489e61063e14783fa3fb52700.tar.gz |
Require that ephemeral posts live for at least one hour
If we didn't put some kind of lifetime requirement on these, I guess you
could annoy people by sending large numbers of ephemeral posts that
provoke notifications but then disappear before anyone can read them.
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/factory.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex index 63fe3a66d..7a2ddcada 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -158,7 +158,7 @@ defmodule Pleroma.Factory do end def expiration_in_the_future_factory(attrs \\ %{}) do - expiration_offset_by_minutes(attrs, 60) + expiration_offset_by_minutes(attrs, 61) end def article_activity_factory do |