diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-02 15:58:32 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-02 15:58:32 +0000 |
commit | 1a4ff9eb49f8108e1fcdbdcf70ed9c7db766dbb2 (patch) | |
tree | 1df1aacf7d04eb54efe4a9ce9c11c1f418b77beb /test/functional/journals_controller_test.rb | |
parent | 2d475288e4b79bea7f3beefd5f0be151510b0274 (diff) | |
download | redmine-1a4ff9eb49f8108e1fcdbdcf70ed9c7db766dbb2.tar.gz redmine-1a4ff9eb49f8108e1fcdbdcf70ed9c7db766dbb2.zip |
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
Diffstat (limited to 'test/functional/journals_controller_test.rb')
-rw-r--r-- | test/functional/journals_controller_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/journals_controller_test.rb b/test/functional/journals_controller_test.rb index 6b4c65514..0acf2d966 100644 --- a/test/functional/journals_controller_test.rb +++ b/test/functional/journals_controller_test.rb @@ -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 |