mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1d7127a408
commit
e937cb533e
@ -319,7 +319,7 @@ module Redmine
|
||||
def log_user(login, password)
|
||||
User.anonymous
|
||||
get "/login"
|
||||
assert_equal nil, session[:user_id]
|
||||
assert_nil session[:user_id]
|
||||
assert_response :success
|
||||
|
||||
post "/login", :username => login, :password => password
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user