Some old-style code is making our tests fail when run in Debian Testing.
This patch addresses this.
To test:
1. Launch bookworm KTD:
$ KOHA_IMAGE=master-bookworm ktd up -d
2. Run:
$ ktd --shell
k$ prove t/00-testcritic.t
=> FAIL: It fails!
3. Apply the patch
4. Repeat 2
=> SUCCESS: Tests now pass!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| UNIMARC_fix_collectiontitle.pl | ||
| UNIMARC_sync_date_created_with_marc_biblio.pl | ||
| auth_show_hidden_data.pl | ||
| borrowers-force-messaging-defaults.pl | ||
| check_syspref_cache.pl | ||
| check_sysprefs.sh | ||
| cmp_sysprefs.pl | ||
| compare_es_to_db.pl | ||
| fix_accountlines_date.pl | ||
| fix_accountlines_rmdupfines_bug8253.pl | ||
| fix_mysql_constraints.pl | ||
| fix_tags_weight.pl | ||
| generate_MARC21Languages.pl | ||
| make_zebra_dom_cfg_from_record_abs | ||
| process_record_through_filter.pl | ||
| remove_items_from_biblioitems.pl | ||
| sanitize_records.pl | ||
| search_for_data_inconsistencies.pl | ||
| touch_all_biblios.pl | ||
| touch_all_items.pl | ||
| update_authorities.pl | ||