diff --git a/test/integration/webdav/dmsf_webdav_options_test.rb b/test/integration/webdav/dmsf_webdav_options_test.rb index 83821894..a082ba46 100644 --- a/test/integration/webdav/dmsf_webdav_options_test.rb +++ b/test/integration/webdav/dmsf_webdav_options_test.rb @@ -176,4 +176,14 @@ class DmsfWebdavOptionsTest < RedmineDmsf::Test::IntegrationTest assert_response :not_found end + def test_ms_redirector_workaround_dmsf + process :options, '/dmsf', params: nil, headers: @jsmith + assert_response :success + end + + def test_ms_redirector_workaround_root + process :options, '/', params: nil, headers: @jsmith + assert_response :success + end + end diff --git a/test/integration/webdav/dmsf_webdav_propfind_test.rb b/test/integration/webdav/dmsf_webdav_propfind_test.rb index e97c1147..b77862b7 100644 --- a/test/integration/webdav/dmsf_webdav_propfind_test.rb +++ b/test/integration/webdav/dmsf_webdav_propfind_test.rb @@ -177,4 +177,14 @@ class DmsfWebdavPropfindTest < RedmineDmsf::Test::IntegrationTest assert response.body.include?("#{project1_new_name}") end + def test_ms_redirector_workaround_dmsf + process :propfind, '/dmsf', params: nil, headers: @jsmith + assert_response :not_found + end + + def test_ms_redirector_workaround_root + process :propfind, '/', params: nil, headers: @jsmith + assert_response :not_found + end + end \ No newline at end of file