Patch #43289
closed
Incorrect comments_count value in News fixture for news_001
Added by Go MAEDA 21 days ago.
Updated 1 day ago.
Category:
Code cleanup/refactoring
Description
In the test fixture news.yml, the news_001 record defines comments_count: 1, but there are actually two related `Comment` records for this news item. Since this is confusing when testing Redmine, the comments_count value should be updated to 2 to match the number of associated comments.


Files
- File fix-news-comments_count-v2.patch added
Updated the test to use assert_difference instead of asserting specific count values.
- File fix-news-comments_count-v2.patch added
- File deleted (
fix-news-comments_count-v2.patch)
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version changed from Candidate for next major release to 7.0.0
Also available in: Atom
PDF