about summary refs log tree commit diff
path: root/config/environments/test.rb
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-03-05 04:28:24 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-04 20:28:24 +0100
commitc110fa62ac0f475efd64572026835a7514c410ae (patch)
tree1ef16b5369a589fdb60b557f68c5a8288eaa83b6 /config/environments/test.rb
parent7a6eaad445ca009001a31657d163b0316b27e9e4 (diff)
Provide default OTP_SECRET value for development environment (#6617)
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r--config/environments/test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 74e7fa694..7d77a170e 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -44,6 +44,8 @@ Rails.application.configure do
   # Print deprecation notices to the stderr.
   config.active_support.deprecation = :stderr
 
+  config.x.otp_secret = '100c7faeef00caa29242f6b04156742bf76065771fd4117990c4282b8748ff3d99f8fdae97c982ab5bd2e6756a159121377cce4421f4a8ecd2d67bd7749a3fb4'
+
   # Generate random VAPID keys
   vapid_key = Webpush.generate_key
   config.x.vapid_private_key = vapid_key.private_key