X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FJSTests.pm;h=b3da9f24b3b9cdfd7ecc8fafa22bb092e367d3fc;hb=f319b065b828d7ac69ecbef68bfb16b4f3415422;hp=1c8a67bd2b22e59200bf00183318a0abf56ae2a7;hpb=ac01c25abcbe7d2ede91723ac91d519bd170fd1f;p=kivitendo-erp.git diff --git a/SL/Controller/JSTests.pm b/SL/Controller/JSTests.pm index 1c8a67bd2..b3da9f24b 100644 --- a/SL/Controller/JSTests.pm +++ b/SL/Controller/JSTests.pm @@ -6,6 +6,7 @@ use parent qw(SL::Controller::Base); use File::Find (); use File::Spec (); +use List::UtilsBy qw(sort_by); use SL::System::Process; @@ -42,7 +43,7 @@ sub init_all_scripts { File::Find::find($wanted, $exe_dir . '/js/t'); - return \@scripts; + return [ sort_by { lc } @scripts ]; } sub init_scripts_to_run {