mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
More rebranding changes (#159)
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
This commit is contained in:
@@ -106,7 +106,7 @@ class UserTest < ActiveSupport::TestCase
|
||||
user = users(:family_member)
|
||||
user.setup_mfa!
|
||||
|
||||
totp = ROTP::TOTP.new(user.otp_secret, issuer: "Maybe")
|
||||
totp = ROTP::TOTP.new(user.otp_secret, issuer: "Sure Finances")
|
||||
valid_code = totp.now
|
||||
|
||||
assert user.verify_otp?(valid_code)
|
||||
@@ -136,7 +136,7 @@ class UserTest < ActiveSupport::TestCase
|
||||
|
||||
assert_match %r{otpauth://totp/}, user.provisioning_uri
|
||||
assert_match %r{secret=#{user.otp_secret}}, user.provisioning_uri
|
||||
assert_match %r{issuer=Maybe}, user.provisioning_uri
|
||||
assert_match %r{issuer=Sure}, user.provisioning_uri
|
||||
end
|
||||
|
||||
test "ai_available? returns true when openai access token set in settings" do
|
||||
|
||||
Reference in New Issue
Block a user