mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
Chromium E2E test fixes (#2108)
* Change test password to avoid chromium conflicts * Update integration tests * Centralize all test password references * Remove unrelated schema changes
This commit is contained in:
@@ -42,7 +42,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
|
||||
@user.enable_mfa!
|
||||
@user.sessions.destroy_all # Clean up any existing sessions
|
||||
|
||||
post sessions_path, params: { email: @user.email, password: "password" }
|
||||
post sessions_path, params: { email: @user.email, password: user_password_test }
|
||||
|
||||
assert_redirected_to verify_mfa_path
|
||||
assert_equal @user.id, session[:mfa_user_id]
|
||||
|
||||
Reference in New Issue
Block a user