From e937cb533efaf6f56db4fd406612e09133bed11b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 11 Dec 2016 15:22:29 +0000 Subject: [PATCH] Use assert_nil instead of assert_equal. git-svn-id: http://svn.redmine.org/redmine/trunk@16059 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5