Project

General

Profile

Actions

Patch #43289

closed

Incorrect comments_count value in News fixture for news_001

Added by Go MAEDA 21 days ago. Updated 1 day ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Go MAEDA 21 days ago

  • File fix-news-comments_count-v2.patch added

Updated the test to use assert_difference instead of asserting specific count values.

Actions #2

Updated by Go MAEDA 21 days ago

  • File fix-news-comments_count-v2.patch added
  • File deleted (fix-news-comments_count-v2.patch)
Actions #3

Updated by Go MAEDA 21 days ago

Actions #4

Updated by Go MAEDA 20 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix in r24028.

Actions #5

Updated by Go MAEDA 1 day ago

  • Target version changed from Candidate for next major release to 7.0.0
Actions

Also available in: Atom PDF