Merged r9026 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@9040 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
294accf197
commit
ffc6c99ae8
|
@ -933,7 +933,7 @@ class IssuesControllerTest < ActionController::TestCase
|
||||||
def test_post_new_with_group_assignment
|
def test_post_new_with_group_assignment
|
||||||
group = Group.find(11)
|
group = Group.find(11)
|
||||||
project = Project.find(1)
|
project = Project.find(1)
|
||||||
project.members << Member.new(:principal => group, :roles => [Role.first])
|
project.members << Member.new(:principal => group, :roles => [Role.givable.first])
|
||||||
|
|
||||||
with_settings :issue_group_assignment => '1' do
|
with_settings :issue_group_assignment => '1' do
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
|
@ -1803,7 +1803,7 @@ class IssuesControllerTest < ActionController::TestCase
|
||||||
def test_bulk_update_with_group_assignee
|
def test_bulk_update_with_group_assignee
|
||||||
group = Group.find(11)
|
group = Group.find(11)
|
||||||
project = Project.find(1)
|
project = Project.find(1)
|
||||||
project.members << Member.new(:principal => group, :roles => [Role.first])
|
project.members << Member.new(:principal => group, :roles => [Role.givable.first])
|
||||||
|
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
# update issues assignee
|
# update issues assignee
|
||||||
|
|
Loading…
Reference in New Issue