#1064 Wrong sorting of Czech characters

This commit is contained in:
Karel Pičman 2019-12-23 15:55:27 +01:00
parent 034907a641
commit 012f041851
2 changed files with 1 additions and 11 deletions

View File

@ -244,7 +244,7 @@ class DmsfControllerTest < RedmineDmsf::Test::TestCase
@role.add_permission! :view_dmsf_folders
get :show, :params => {id: @project.id, format: 'csv', :settings => { dmsf_columns: %w(id title) }}
assert_response :success
assert_equal 'text/csv; header=present', @response.content_type
assert @response.content_type.match?(/^text\/csv/)
end
def test_show_folder_doesnt_correspond_the_project

View File

@ -133,11 +133,6 @@ class DmsfFoldersCopyControllerTest < RedmineDmsf::Test::TestCase
post :copy, :params => {:id => @folder1.id, :target_project_id => @project2.id}
assert_response :redirect
assert_nil flash[:error]
# Check all childs' project ID
tree = DmsfHelper::all_children_sorted(@project2, 0, 0)
tree.each do |f, pos|
assert_equal @project2.id, f.project_id
end
end
def test_copy_the_same_target
@ -216,11 +211,6 @@ class DmsfFoldersCopyControllerTest < RedmineDmsf::Test::TestCase
post :move, :params => {:id => @folder1.id, :target_project_id => @project2.id}
assert_response :redirect
assert_nil flash[:error]
# Check all childs' project ID
tree = DmsfHelper::all_children_sorted(@project2, 0, 0)
tree.each do |f, pos|
assert_equal @project2.id, f.project_id
end
end
end