Bug 24879: Adjust tests
Installer scripts cannot be run from the UI: debian/templates/apache-shared-intranet.conf:RewriteRule ^/cgi-bin/koha/(C4|debian|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
fce988fe98
commit
6ae3d984b0
|
|
@ -35,7 +35,6 @@ sub wanted {
|
|||
|circ
|
||||
|clubs
|
||||
|course_reserves
|
||||
|installer
|
||||
|labels
|
||||
|members
|
||||
|patroncards
|
||||
|
|
@ -62,7 +61,7 @@ my @missing_auth_check;
|
|||
FILE: foreach my $name (@files) {
|
||||
open( FILE, $name ) || die "cannot open file $name $!";
|
||||
while ( my $line = <FILE> ) {
|
||||
for my $routine ( qw( get_template_and_user check_cookie_auth checkauth check_api_auth ) ) {
|
||||
for my $routine ( qw( get_template_and_user check_cookie_auth checkauth check_api_auth C4::Service->init ) ) {
|
||||
next FILE if $line =~ m|^[^#]*$routine|;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue