https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35612

--- Comment #45 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 192522
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192522&action=edit
Bug 35612: (QA follow-up) Add test for undefined LostChargesControl preference

Adds test coverage for the case where LostChargesControl system
preference is not set (returns undef). This ensures the code
handles this gracefully and defaults to ItemHomeLibrary behavior.

The test verifies that:
- No warnings are generated when the preference is undefined
- The default behavior (ItemHomeLibrary) is applied correctly
- The correct branch (item homebranch) is recorded in accountlines

This improves test coverage and prevents regression of the fix
for uninitialized value warnings.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to