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

--- Comment #16 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 199879
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199879&action=edit
Bug 42714: (QA follow-up) Add tests for cronlogaction and Koha::Script logging

t/db_dependent/Log.t
- Add subtest verifying cronlogaction() prefixes loginfo with \$0
  (the running script path), appends the info parameter, defaults the
  action to 'Run', and respects custom action values.

t/Koha/Script.t
- Assert that \$Koha::Script::_cron is false when the module is loaded
  without the -cron flag, confirming INIT/END blocks will not log.

t/Koha/Script_cron.t
- Assert that \$Koha::Script::_cron is true when the module is loaded
  with the -cron flag, confirming INIT/END blocks will log.

-- 
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