You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the test suite there are many warnings about redefined subroutines. The impression is that the behavior is as desired, and that the warnings should masked. Needs to be investigated.
The text was updated successfully, but these errors were encountered:
These warning stem from Kernel::System::UnitTest::Helper::_ MockPerlTimeHandling(), when some modules are reloaded. For some reason the warnings are not easily turned off with no warnings;, even when Module::Refresh is reused.
I'll investigate whether the reloading of the modules is really needed.
The reloading of the modules is necessary. https://perldoc.perl.org/CORE.html#OVERRIDING-CORE-FUNCTIONS states that core functions must be overridden at compile time. This is no problem when each test script really runs as a seperate script. But when otobo.Console.pl is used then dynamic loading takes place. This means that the core functions are not overridden at compile time.
So, let's live with the warnings until #192 is implemented.
When running the test suite there are many warnings about redefined subroutines. The impression is that the behavior is as desired, and that the warnings should masked. Needs to be investigated.
The text was updated successfully, but these errors were encountered: