##// END OF EJS Templates
Prevent admins from sending themselves their own password (#21436)....
Prevent admins from sending themselves their own password (#21436). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@14966 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9351:8d73ddf73ffc
r14584:389527296e02
Show More
status_test.rb
13 lines | 369 B | text/x-ruby | RubyLexer
require File.dirname(__FILE__) + '/test_helper'
class StatusTest < Test::Unit::TestCase
include OpenIdAuthentication
def test_state_conditional
assert Result[:missing].missing?
assert Result[:missing].unsuccessful?
assert !Result[:missing].successful?
assert Result[:successful].successful?
assert !Result[:successful].unsuccessful?
end
end