https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40317 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 183834 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183834&action=edit Bug 40317: Remove warnings from Auth_with_shibboleth.t output t/db_dependent/Auth_with_shibboleth.t .. 1/5 GetPreparedLetter called at t/db_dependent/Auth_with_shibboleth.t line 73. EnqueueLetter called at t/db_dependent/Auth_with_shibboleth.t line 80. SendQueuedMessages called with message_id: 42 at t/db_dependent/Auth_with_shibboleth.t line 90. Not sure what exactly is going on here, but warnings_are is not supposed to show the warnings in the output. I think it's because of the logger mock. A workaround is to use a variable we increment then compare to see if we reach the sub. Test plan: % prove t/db_dependent/Auth_with_shibboleth.t should return green without warnings -- You are receiving this mail because: You are watching all bug changes.