#913 tests
This commit is contained in:
parent
443f42c5a4
commit
dbb87fb684
@ -176,4 +176,14 @@ class DmsfWebdavOptionsTest < RedmineDmsf::Test::IntegrationTest
|
|||||||
assert_response :not_found
|
assert_response :not_found
|
||||||
end
|
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
|
end
|
||||||
|
|||||||
@ -177,4 +177,14 @@ class DmsfWebdavPropfindTest < RedmineDmsf::Test::IntegrationTest
|
|||||||
assert response.body.include?("<d:displayname>#{project1_new_name}</d:displayname>")
|
assert response.body.include?("<d:displayname>#{project1_new_name}</d:displayname>")
|
||||||
end
|
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
|
end
|
||||||
Loading…
x
Reference in New Issue
Block a user