Use assert_nil instead of assert_equal.

git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-12-11 15:26:41 +00:00
parent e937cb533e
commit bf5dade8df
22 changed files with 38 additions and 38 deletions

View File

@@ -463,7 +463,7 @@ class UsersControllerTest < Redmine::ControllerTest
:user => {:auth_source_id => '', :password => 'newpass123', :password_confirmation => 'newpass123'}
}
assert_equal nil, u.reload.auth_source
assert_nil u.reload.auth_source
assert u.check_password?('newpass123')
end