Bug 40019

Summary: Koha/Auth/Client.t produces warnings
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 25515    
Attachments: Bug 40019: Remove warnings from Koha/Auth/Client.t
Bug 40019: Remove warnings from Koha/Auth/Client.t

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>