From a37f9e423cb8e8a33900a863a6cfb6ee7ce98826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 20 Jan 2020 12:40:53 +0100 Subject: [PATCH] Unit tests fix fro Easy --- test/integration/webdav/dmsf_webdav_custom_middleware_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/webdav/dmsf_webdav_custom_middleware_test.rb b/test/integration/webdav/dmsf_webdav_custom_middleware_test.rb index a834bdaa..124510f3 100644 --- a/test/integration/webdav/dmsf_webdav_custom_middleware_test.rb +++ b/test/integration/webdav/dmsf_webdav_custom_middleware_test.rb @@ -34,7 +34,7 @@ class DmsfWebdavCustomMiddlewareTest < RedmineDmsf::Test::IntegrationTest def test_options_for_root_path process :options, '/' - assert_response :success + assert_response defined?(EasyExtensions) ? :method_not_allowed : :success end def test_options_for_dmsf_root_path @@ -44,7 +44,7 @@ class DmsfWebdavCustomMiddlewareTest < RedmineDmsf::Test::IntegrationTest def test_propfind_for_root_path process :propfind, '/' - assert_response :not_found + assert_response defined?(EasyExtensions) ? :method_not_allowed : :not_found end def test_propfind_for_dmsf_root_path