summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-03-25 23:50:08 +0000
committerGo MAEDA <maeda@farend.jp>2023-03-25 23:50:08 +0000
commitd1e10ee1a9930eee1e4756f2d710c130bcccfa72 (patch)
tree620c24cb5fc65776ea44658a64ae3b452c645c94 /test/unit
parent2298ac15bdc119dbf7b86707f74097e515302d4c (diff)
downloadredmine-d1e10ee1a9930eee1e4756f2d710c130bcccfa72.tar.gz
redmine-d1e10ee1a9930eee1e4756f2d710c130bcccfa72.zip
Merged r22155 from trunk to 5.0-stable (#38286).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22157 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/project_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index c83009a72..70c422822 100644
--- a/test/unit/project_test.rb
+++ b/test/unit/project_test.rb
@@ -236,6 +236,7 @@ class ProjectTest < ActiveSupport::TestCase
# generate some dependent objects
overridden_activity = TimeEntryActivity.new({:name => "Project", :project => @ecookbook})
assert overridden_activity.save!
+ TimeEntry.generate!(:project => @ecookbook, :activity_id => overridden_activity.id)
query = IssueQuery.generate!(:project => @ecookbook, :visibility => Query::VISIBILITY_ROLES, :roles => Role.where(:id => [1, 3]).to_a)