diff --git a/test/unit/project_patch_test.rb b/test/unit/project_patch_test.rb index 89627a1c..83d343c6 100644 --- a/test/unit/project_patch_test.rb +++ b/test/unit/project_patch_test.rb @@ -65,7 +65,7 @@ class ProjectPatchTest < RedmineDmsf::Test::UnitTest def test_dmsf_count hash = @project1.dmsf_count - assert_equal 5, hash[:files] + assert_equal 7, hash[:files] assert_equal 5, hash[:folders] end @@ -77,7 +77,7 @@ class ProjectPatchTest < RedmineDmsf::Test::UnitTest end def test_copy_dmsf - assert_equal 1, @project1.dmsf_files.visible.count + assert_equal 3, @project1.dmsf_files.visible.count assert_equal 2, @project1.dmsf_folders.visible.count assert_equal 1, @project1.file_links.visible.count assert_equal 1, @project1.folder_links.visible.count @@ -88,7 +88,7 @@ class ProjectPatchTest < RedmineDmsf::Test::UnitTest assert_equal 0, @project3.folder_links.visible.count assert_equal 0, @project3.url_links.visible.count @project3.copy_dmsf(@project1) - assert_equal 1, @project3.dmsf_files.visible.count + assert_equal 3, @project3.dmsf_files.visible.count assert_equal 2, @project3.dmsf_folders.visible.count assert_equal 1, @project3.file_links.visible.count assert_equal 1, @project3.folder_links.visible.count