summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-25 12:59:42 +0200
committerlain <lain@soykaf.club>2020-05-25 12:59:42 +0200
commit3bec0d2e50a0c468508ae884a3e5dc371106501e (patch)
tree991e5c86b74ae98db651e22fbdc61004666237c3
parent0c970a9d44fc0ceddbb52483f6f2fab11243e0ca (diff)
Factory: Set users to be ap_enabled by default.
-rw-r--r--test/support/factory.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index d4284831c..6e3676aca 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -34,7 +34,8 @@ defmodule Pleroma.Factory do
last_digest_emailed_at: NaiveDateTime.utc_now(),
last_refreshed_at: NaiveDateTime.utc_now(),
notification_settings: %Pleroma.User.NotificationSetting{},
- multi_factor_authentication_settings: %Pleroma.MFA.Settings{}
+ multi_factor_authentication_settings: %Pleroma.MFA.Settings{},
+ ap_enabled: true
}
%{