Project

General

Profile

Actions

Patch #43289

closed

Incorrect comments_count value in News fixture for news_001

Patch #43289: Incorrect comments_count value in News fixture for news_001

Added by Go MAEDA about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:

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

Updated by Go MAEDA about 1 year ago Actions #1

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

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

Updated by Go MAEDA about 1 year ago Actions #2

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

Updated by Go MAEDA about 1 year ago Actions #3

Updated by Go MAEDA about 1 year ago Actions #4

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

Committed the fix in r24028.

Updated by Go MAEDA about 1 year ago Actions #5

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

Also available in: PDF Atom