Skip to content

Commit c09a23b

Browse files
committed
Test data account updates
1 parent 4c2d014 commit c09a23b

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

config/environments/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626
# Set default sender email for tests
27-
ENV["EMAIL_SENDER"] = "hello@maybefinance.com"
27+
ENV["EMAIL_SENDER"] = "hello@example.com"
2828

2929
# Show full error reports and disable caching.
3030
config.consider_all_requests_local = true

lib/tasks/benchmarking.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace :benchmarking do
1111
Benchmark.ips do |x|
1212
x.config(time: 30, warmup: 10)
1313

14-
family = User.find_by(email: "user@sure.local").family
14+
family = User.find_by(email: "user@example.com").family
1515
scope = family.transactions.active
1616

1717
# x.report("IncomeStatement::Totals") do

perf.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CustomAuth < DerailedBenchmarks::AuthHelper
1414

1515
def call(env)
1616
# Make sure this user is created in the DB with realistic data before running benchmarks
17-
user = User.find_by!(email: "user@sure.local")
17+
user = User.find_by!(email: "user@example.com")
1818

1919
Rails.logger.debug "Found user for benchmarking: #{user.email}"
2020

test/controllers/mfa_controller_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def sign_out
3131

3232
test "enables MFA with valid code" do
3333
@user.setup_mfa!
34-
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Maybe")
34+
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Sure Finances")
3535

3636
post mfa_path, params: { code: totp.now }
3737

@@ -70,7 +70,7 @@ def sign_out
7070
sign_out
7171

7272
post sessions_path, params: { email: @user.email, password: user_password_test }
73-
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Maybe")
73+
totp = ROTP::TOTP.new(@user.otp_secret, issuer: "Sure Finances")
7474

7575
post verify_mfa_path, params: { code: totp.now }
7676

test/mailers/email_confirmation_mailer_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class EmailConfirmationMailerTest < ActionMailer::TestCase
88
mail = EmailConfirmationMailer.with(user: user).confirmation_email
99
assert_equal I18n.t("email_confirmation_mailer.confirmation_email.subject"), mail.subject
1010
assert_equal [ user.unconfirmed_email ], mail.to
11-
assert_equal [ "hello@maybefinance.com" ], mail.from
11+
assert_equal [ "hello@example.com" ], mail.from
1212
assert_match "confirm", mail.body.encoded
1313
end
1414
end

test/vcr_cassettes/plaid/link_token.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/stripe/checkout_session.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)