mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
Fixes wrong change added in r23761 (#42422).
git-svn-id: https://svn.redmine.org/redmine/trunk@23770 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -72,8 +72,8 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||
# Should not depend on locale since Redmine displays login page
|
||||
# using default browser locale which depend on system locale for "real" browsers drivers
|
||||
def log_user(login, password)
|
||||
visit '/my/page'
|
||||
assert_current_path '/login', :ignore_query => true
|
||||
assert_equal '/login', current_path
|
||||
within('#login-form form') do
|
||||
fill_in 'username', :with => login
|
||||
fill_in 'password', :with => password
|
||||
|
||||
Reference in New Issue
Block a user