mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 10:25:55 +01:00 
			
		
		
		
	Fixed test failures introduced by r14288 (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14291 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
		| @@ -153,7 +153,7 @@ class ProjectEnumerationsControllerTest < ActionController::TestCase | ||||
|     # second one is a dupicate | ||||
|     parent = TimeEntryActivity.find(9) | ||||
|     TimeEntryActivity.create!({:name => parent.name, :project_id => 1, | ||||
|                                :position => parent.position, :active => true}) | ||||
|                                :position => parent.position, :active => true, :parent_id => 9}) | ||||
|     TimeEntry.create!({:project_id => 1, :hours => 1.0, :user => User.find(1), | ||||
|                        :issue_id => 3, :activity_id => 10, :spent_on => '2009-01-01'}) | ||||
|     assert_equal 3, TimeEntry.where(:activity_id => 9, :project_id => 1).count | ||||
|   | ||||
		Reference in New Issue
	
	Block a user