Koha-clms/t/Koha
Chloé Zermatten 18aa5d1f4c
Bug 10190: (QA follow-up): fixes phase six
1. add missing <tr> wrapper element
2. amend casing in cypress test
3. change method name so it is codespell-friendly
4. remove deprecated test from TestBuilder.t
   (used Overduerules which do not exist anymore.
    rely on 'Tests with composite FK in userpermission'
    for FK test coverage instead -> no replacement
    introduced.)
5. 'Bug 10190: Fix patron_categories permission format'
   changed the permission for GET requests to patron_categories
   to catalogue = 1, matching the Koha precedent for such
   endpoints. However, patron_categories still tested the
   endpoint with the old permission assigned. Amend this to
   complete the work started in that commit.
6. remove redundant delete statement in permission test:
   if the test fails, this means the db update has not
   run, and should. It would be incorrect for the db
   to still include the permission at the point where the
   test runs.

Test plan:

1. run `npm run js:build` (or watch the js:watch output)
2. run t/cypress/integration/Admin/CirculationTriggers_spec.ts
3. run prove xt/author/codespell.t
4. run prove t/db_dependent/TestBuilder.t
5. run prove t/db_dependent/api/v1/patron_categories.t
6. run prove t/Koha/Auth/Permissions.t

All should run with no warnings or errors.

Assisted-by: Claude Opus 5 (Anthropic)
Sponsored-by: Glasgow Colleges Library Group <https://library.cityofglasgowcollege.ac.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-21 16:07:44 +00:00
..
Auth Bug 10190: (QA follow-up): fixes phase six 2026-09-21 16:07:44 +00:00
Authority Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
Database Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
DateTime/Format Bug 38944: Manual changes 2025-03-13 17:25:04 +01:00
I18N/po/xx_XX/LC_MESSAGES
…
Installer Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
Middleware Bug 41197: Add unit tests 2026-08-19 14:33:52 +00:00
Object Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
Plugins Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
REST/Plugin Bug 43241: Add tests for timezone support in RFC3339 q= queries 2026-08-28 16:36:38 +00:00
Regex Bug 30233: (follow-up) Add tests for _apply_substitution and combined modifiers 2026-08-11 12:39:30 +00:00
Result Bug 41728: (QA follow-up) Move Availability::Result to Result::Availability 2026-09-04 11:24:01 +00:00
SearchEngine Bug 42764: Fix spelling errors across the codebase 2026-06-03 16:09:04 +00:00
Util Bug 35142: Remove GetNormalizedOCLCNumber, oclc_number, strip_orgcode 2026-08-20 15:34:07 +00:00
CSV.t Bug 41619: Add Koha::CSV 2026-02-06 15:17:02 -07:00
Config.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
ContentSecurityPolicy.t Bug 38365: Remove old usage of Koha::Cache::Memory::Lite 2026-03-16 11:57:31 +01:00
Email.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
Exceptions.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
I18N.t Bug 36947: Add system preference for configurable locale-based facet sorting 2025-07-11 15:26:56 -06:00
ItemType.t Bug 40163: (follow-up) Fix wrong GNU links and update test 2025-09-24 09:25:04 -06:00
Manual.t Bug 40845: Remove hardcoded Koha version from t/Koha/Manual.t 2025-10-31 15:26:09 -06:00
Script.t Bug 42714: (QA follow-up) Add tests for cronlogaction and Koha::Script logging 2026-07-28 14:32:39 +00:00
Script_cron.t Bug 42714: (QA follow-up) Add tests for cronlogaction and Koha::Script logging 2026-07-28 14:32:39 +00:00
Script_scrub_argv.t Bug 42766: Add tests for logscriptaction() and _scrub_argv() 2026-08-04 10:20:52 +00:00
Status.t Bug 41107: Add /status/version API endpoint 2026-03-23 09:33:54 +01:00
Z3950responder.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
sleep.pl
…
wait.pl
…