From ff2532e52d406bb29509ee63b8329a70ddfc5c52 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 30 May 2015 09:41:58 +0000 Subject: Fixed test failures introduced by r14288 (#19656). git-svn-id: http://svn.redmine.org/redmine/trunk@14291 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/timelog_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/timelog_controller_test.rb') diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 1d4097ce2..68fde87f0 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -113,7 +113,7 @@ class TimelogControllerTest < ActionController::TestCase def test_get_edit_with_an_existing_time_entry_with_inactive_activity te = TimeEntry.find(1) te.activity = TimeEntryActivity.find_by_name("Inactive Activity") - te.save! + te.save!(:validate => false) @request.session[:user_id] = 1 get :edit, :project_id => 1, :id => 1 -- cgit v1.2.3