From 29a6e95a2a8e995b75b47c933f71ad02b24b4b17 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 30 Mar 2017 15:40:12 -0700 Subject: [PATCH] Disable site file max hard check, getting too slow --- tests/api_tests.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/api_tests.rb b/tests/api_tests.rb index b575a566..3f1669ea 100644 --- a/tests/api_tests.rb +++ b/tests/api_tests.rb @@ -217,6 +217,8 @@ describe 'api upload' do res[:error_type].must_equal 'missing_files' end +=begin + # Getting too slow to run this test it 'fails with too many files' do create_site basic_authorize @user, @pass @@ -229,6 +231,7 @@ describe 'api upload' do } res[:error_type].must_equal 'too_many_files' end +=end it 'resists directory traversal attack' do create_site