diff options
author | Go MAEDA <maeda@farend.jp> | 2024-05-27 07:41:57 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-05-27 07:41:57 +0000 |
commit | a4e7d34cb7582910a2c8f512c31220873404cbaa (patch) | |
tree | aca7b4143de05d8dd2e013ad3c740201599d38ba /test/integration/api_test/issues_test.rb | |
parent | c9fda88a407034405c1116e81fd29ebd1524c9f9 (diff) | |
download | redmine-a4e7d34cb7582910a2c8f512c31220873404cbaa.tar.gz redmine-a4e7d34cb7582910a2c8f512c31220873404cbaa.zip |
Add `updated_on` and `updated_by` fields to Issues API journal response (#40449).
Contributed by Thomas Hoffmann (@ThomasHo).
git-svn-id: https://svn.redmine.org/redmine/trunk@22846 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/issues_test.rb')
-rw-r--r-- | test/integration/api_test/issues_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb index 05d40647c..142dc86b8 100644 --- a/test/integration/api_test/issues_test.rb +++ b/test/integration/api_test/issues_test.rb @@ -242,6 +242,8 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base assert_select 'issue journals[type=array]' do assert_select 'journal[id="1"]' do + assert_select 'updated_on', :text => Issue.find(1).journals[0].updated_on.iso8601 + assert_select 'updated_by[id="1"][name="Redmine Admin"]' assert_select 'private_notes', :text => 'false' assert_select 'details[type=array]' do assert_select 'detail[name=status_id]' do |