From 8fa45b4e101aac599baa05810479fd21a9f27004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 31 Jan 2023 14:40:41 +0100 Subject: [PATCH] Default sorting is not set #1425 --- test/functional/dmsf_controller_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/functional/dmsf_controller_test.rb b/test/functional/dmsf_controller_test.rb index 619d3c24..8106eccd 100644 --- a/test/functional/dmsf_controller_test.rb +++ b/test/functional/dmsf_controller_test.rb @@ -405,6 +405,13 @@ class DmsfControllerTest < RedmineDmsf::Test::TestCase assert_select "tr##{@project5.id}pspan", count: 0 end + def test_show_default_sort_column + get :show, params: { id: @project1.id } + assert_response :success + # @project5 is not as a sub-folder + assert_select 'a.icon-sorted-desc', text: l(:label_column_title) + end + def test_index get :index assert_response :success