浏览代码

Factory: Set users to be ap_enabled by default.

fix/http_secury_plug
lain 4 年前
父节点
当前提交
3bec0d2e50
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      test/support/factory.ex

+ 2
- 1
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
}

%{


正在加载...
取消
保存