diff options
author | Go MAEDA <maeda@farend.jp> | 2023-02-01 07:11:25 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-02-01 07:11:25 +0000 |
commit | 109b91145767726b4e99e7a36e4bf70f8d562d1c (patch) | |
tree | 49923df652551fa85964e8892a0b5d9ec6bca909 /test/functional | |
parent | 57544d6d4be5a3058873a6fa142c665b8a122df6 (diff) | |
download | redmine-109b91145767726b4e99e7a36e4bf70f8d562d1c.tar.gz redmine-109b91145767726b4e99e7a36e4bf70f8d562d1c.zip |
"Property changes" tab does not appear when all issue journals have both notes and property changes (#38217).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22085 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/issues_controller_test.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 81fef052f..c19534b78 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -3104,7 +3104,7 @@ class IssuesControllerTest < Redmine::ControllerTest def test_show_display_only_all_and_notes_tabs_for_issue_with_notes_only @request.session[:user_id] = 1 - get :show, :params => {:id => 6} + get :show, :params => {:id => 14} assert_response :success assert_select '#history' do assert_select 'div.tabs ul a', 2 @@ -3135,13 +3135,6 @@ class IssuesControllerTest < Redmine::ControllerTest def test_show_display_all_notes_and_history_tabs_for_issue_with_notes_and_history_changes journal = Journal.create!(:journalized => Issue.find(6), :user_id => 1) - detail = - JournalDetail. - create!( - :journal => journal, :property => 'attr', - :prop_key => 'description', - :old_value => 'Foo', :value => 'Bar' - ) @request.session[:user_id] = 1 get :show, :params => {:id => 6} |