Send the journal_indice as param in order to get rid of extra queries (#31427).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18218 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-06-02 15:58:32 +00:00
parent 2d475288e4
commit 1a4ff9eb49
3 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,8 @@ class JournalsControllerTest < Redmine::ControllerTest
@request.session[:user_id] = 2
get :new, :params => {
:id => 6,
:journal_id => 4
:journal_id => 4,
:journal_indice => 1
},
:xhr => true
assert_response :success