Commit 7f63efe6 authored by maeda's avatar maeda

TimeEntryTest#test_create_should_validate_user_id occasionally fails (#30806).

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@17867 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4dcda053
...@@ -236,6 +236,7 @@ class TimeEntryTest < ActiveSupport::TestCase ...@@ -236,6 +236,7 @@ class TimeEntryTest < ActiveSupport::TestCase
end end
def test_create_should_validate_user_id def test_create_should_validate_user_id
set_language_if_valid 'en'
entry = TimeEntry.new(:spent_on => '2010-01-01', entry = TimeEntry.new(:spent_on => '2010-01-01',
:hours => 10, :hours => 10,
:project_id => 1, :project_id => 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment