spec: always enable super_admin_otp for spec

This commit is contained in:
simon lehericey 2023-04-28 10:24:14 +02:00
parent 04fbfa15b7
commit 07d3496300

View file

@ -1 +1 @@
SUPER_ADMIN_OTP_ENABLED = ENV.fetch("SUPER_ADMIN_OTP_ENABLED", "enabled") == "enabled"
SUPER_ADMIN_OTP_ENABLED = Rails.env.test? || (ENV.fetch("SUPER_ADMIN_OTP_ENABLED", "enabled") == "enabled")