Project

General

Profile

Actions

Patch #44823

closed

Three functional tests never run because their names start with text_ instead of test_

Patch #44823: Three functional tests never run because their names start with text_ instead of test_

Added by Jens Krämer 3 days ago. Updated 2 days ago.

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

Description

RepositoriesSubversionControllerTest#text_entry_should_preview_markdown,
#text_entry_should_preview_textile and
TimelogControllerTest#text_index_with_issue_subject_filter are not run by
Minitest. Renamed to test_, two of them fail on stale expectations:

- the Markdown preview renders the headings without blank lines in between
(CommonMark), the expectation still had them
- the time entry ids read from the checkboxes are strings, the expectation
compared against an Integer

The attached patch renames the three methods and fixes both expectations.


Files

Actions

Also available in: PDF Atom