This commit is contained in:
Karel Pičman 2019-11-08 15:34:43 +01:00
parent 443f42c5a4
commit dbb87fb684
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -177,4 +177,14 @@ class DmsfWebdavPropfindTest < RedmineDmsf::Test::IntegrationTest
assert response.body.include?("<d:displayname>#{project1_new_name}</d:displayname>")
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