You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing the authentication_zero version that requires OTP_secret, the User fixture should include the following line:
otp_secret: <%= ROTP::Base32.random %>
because, otp_secret is constrained to not be null, and this causes an error when running tests, since the model adds it during the before_validate callback (which are not run when fixtures are created).
Cheers!
The text was updated successfully, but these errors were encountered:
When installing the authentication_zero version that requires OTP_secret, the User fixture should include the following line:
otp_secret: <%= ROTP::Base32.random %>
because, otp_secret is constrained to not be null, and this causes an error when running tests, since the model adds it during the before_validate callback (which are not run when fixtures are created).
Cheers!
The text was updated successfully, but these errors were encountered: