From: Jean-Philippe Lang Date: Sun, 11 Dec 2016 15:22:29 +0000 (+0000) Subject: Use assert_nil instead of assert_equal. X-Git-Tag: 3.4.0~517 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e937cb533efaf6f56db4fd406612e09133bed11b;p=redmine.git Use assert_nil instead of assert_equal. git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/test_helper.rb b/test/test_helper.rb index f43b10df0..1ab7e9e03 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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