Browse Source

Factory: Set users to be ap_enabled by default.

fix/http_secury_plug
lain 4 years ago
parent
commit
3bec0d2e50
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      test/support/factory.ex

+ 2
- 1
test/support/factory.ex View File

@@ -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
}

%{


Loading…
Cancel
Save