Bug 40019 - Koha/Auth/Client.t produces warnings
Summary: Koha/Auth/Client.t produces warnings
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: 24.11
Hardware: All All
: P5 - low minor
Assignee: Jonathan Druart
QA Contact: Marcel de Rooy
URL:
Keywords:
Depends on:
Blocks: 25515
  Show dependency treegraph
 
Reported: 2025-05-28 14:47 UTC by Jonathan Druart
Modified: 2025-06-22 21:47 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.01
Circulation function:


Attachments
Bug 40019: Remove warnings from Koha/Auth/Client.t (1.30 KB, patch)
2025-05-28 14:48 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40019: Remove warnings from Koha/Auth/Client.t (1.35 KB, patch)
2025-05-31 12:26 UTC, David Nind
Details | Diff | Splinter Review
Bug 40019: Remove warnings from Koha/Auth/Client.t (1.44 KB, patch)
2025-06-06 07:07 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2025-05-28 14:47:35 UTC
koha_1       | C4::Context->userenv not defined! at /kohadevbox/koha/Koha/Patron.pm line 2000.
koha_1       | C4::Context->userenv not defined! at /kohadevbox/koha/Koha/Patron.pm line 2000.
Comment 1 Jonathan Druart 2025-05-28 14:48:50 UTC
Created attachment 182824 [details] [review]
Bug 40019: Remove warnings from Koha/Auth/Client.t

Test plan:
  prove t/db_dependent/Koha/Auth/Client.t
should return green
Comment 2 David Nind 2025-05-31 12:26:31 UTC
Created attachment 182876 [details] [review]
Bug 40019: Remove warnings from Koha/Auth/Client.t

Test plan:
  prove t/db_dependent/Koha/Auth/Client.t
should return green

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Marcel de Rooy 2025-06-06 07:07:15 UTC
Created attachment 183045 [details] [review]
Bug 40019: Remove warnings from Koha/Auth/Client.t

Test plan:
  prove t/db_dependent/Koha/Auth/Client.t
should return green

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Lucas Gass (lukeg) 2025-06-06 15:44:58 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 5 Paul Derscheid 2025-06-22 21:47:13 UTC
Nice work everyone!

Pushed to 25.05.x for 25.05.03