mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Disable site file max hard check, getting too slow
This commit is contained in:
parent
43dbbcd8c6
commit
29a6e95a2a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue