##// END OF EJS Templates
Removed the default 0 value for issues foreign keys....
Removed the default 0 value for issues foreign keys. It prevents useless "... where id=0" queries and ensures that *_id attributes default to nil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11417 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9351:8d73ddf73ffc
r11187:b4013dc9f2c0
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