diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-25 08:30:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-25 08:30:32 +0000 |
commit | 934a7615c427caf120b5386e62aa159b8d79949f (patch) | |
tree | 299e2c461d3c14fbcd21448aaae0b72c69a67329 /test | |
parent | 0def6389cbd684cfdc952a219804aff6fd967b64 (diff) | |
download | redmine-934a7615c427caf120b5386e62aa159b8d79949f.tar.gz redmine-934a7615c427caf120b5386e62aa159b8d79949f.zip |
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@14744 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/sessions_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/sessions_controller_test.rb b/test/functional/sessions_controller_test.rb index c040d6ccf..4911d1de3 100644 --- a/test/functional/sessions_controller_test.rb +++ b/test/functional/sessions_controller_test.rb @@ -32,8 +32,8 @@ class SessionsControllerTest < ActionController::TestCase end def test_session_token_should_be_updated - created = 10.hours.ago - token = Token.create!(:user_id => 2, :action => 'session', :created_on => created, :updated_on => created) + token = Token.create!(:user_id => 2, :action => 'session', :created_on => 10.hours.ago, :updated_on => 10.hours.ago) + created = token.reload.created_on get :index, {}, {:user_id => 2, :tk => token.value} assert_response :success |