From: Marius Balteanu Date: Sun, 24 Dec 2023 16:39:17 +0000 (+0000) Subject: Updates subversion repository fixture with test data for #39747 (#39747, #36320). X-Git-Tag: 6.0.0~552 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ec6d763a820702af3da40f176a2b7f05d0eccdb;p=redmine.git Updates subversion repository fixture with test data for #39747 (#39747, #36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22555 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/fixtures/repositories/subversion_repository.dump.gz b/test/fixtures/repositories/subversion_repository.dump.gz index f0a1e1d2a..d2ea7c1c4 100644 Binary files a/test/fixtures/repositories/subversion_repository.dump.gz and b/test/fixtures/repositories/subversion_repository.dump.gz differ diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb index 62b52a3b1..357260716 100644 --- a/test/functional/repositories_subversion_controller_test.rb +++ b/test/functional/repositories_subversion_controller_test.rb @@ -27,7 +27,7 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest :issue_categories, :enumerations, :custom_fields, :custom_values, :trackers PRJ_ID = 3 - NUM_REV = 14 + NUM_REV = 16 def setup super @@ -121,13 +121,14 @@ class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest assert_response :success assert_select 'table.entries tbody' do - assert_select 'tr', 6 + assert_select 'tr', 7 assert_select 'tr.dir td.filename a', :text => '[folder_with_brackets]' assert_select 'tr.dir td.filename a', :text => 'folder' assert_select 'tr.file td.filename a', :text => '+.md' assert_select 'tr.file td.filename a', :text => '.project' assert_select 'tr.file td.filename a', :text => 'helloworld.c' assert_select 'tr.file td.filename a', :text => 'textfile.txt' + assert_select 'tr.file td.filename a', :text => 'foo.js' end assert_select 'a.text-x-c', :text => 'helloworld.c'