From a9e8f5883a46b717178ab9087c4442e864517902 Mon Sep 17 00:00:00 2001
From: Jens Kraemer <jk@jkraemer.net>
Date: Thu, 3 Dec 2026 10:08:45 +0800
Subject: [PATCH] Run three tests that were named text_ instead of test_

Their expectations were stale: CommonMark renders the headings without
blank lines in between, and the ids come back as strings.
---
 test/functional/repositories_subversion_controller_test.rb | 6 +++---
 test/functional/timelog_controller_test.rb                 | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index 0a430317f..fa3f2c44c 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -280,7 +280,7 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
       assert_select 'audio[src=?]', "/projects/subproject1/repository/#{@repository.id}/raw/subversion_test/folder/subfolder/chords.mp3"
     end
 
-    def text_entry_should_preview_markdown
+    def test_entry_should_preview_markdown
       get(
         :entry,
         :params => {
@@ -290,10 +290,10 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest
         }
       )
       assert_response :success
-      assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n\n<h2>Header 2</h2>\n\n<h3>Header 3</h3>"
+      assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n<h2>Header 2</h2>\n<h3>Header 3</h3>"
     end
 
-    def text_entry_should_preview_textile
+    def test_entry_should_preview_textile
       get(
         :entry,
         :params => {
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index 67a52076b..74e210ea5 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -1308,7 +1308,7 @@ class TimelogControllerTest < Redmine::ControllerTest
     assert_equal [entry.id.to_s], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
   end
 
-  def text_index_with_issue_subject_filter
+  def test_index_with_issue_subject_filter
     get(
       :index,
       :params => {
@@ -1318,7 +1318,7 @@ class TimelogControllerTest < Redmine::ControllerTest
       }
     )
     assert_response :success
-    assert_equal [3], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
+    assert_equal ['3'], css_select('input[name="ids[]"]').map {|e| e.attr(:value)}
   end
 
   def test_index_with_project_status_filter
-- 
2.56.1

