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:
Jonathan Druart 2024-03-14 16:17:55 +01:00 committed by Katrin Fischer
parent fce988fe98
commit 6ae3d984b0
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 2 deletions

View File

@ -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|;
}
}