Bug 36594 introduced a new template filter, but didn't provide tests. Full code and use cases coverage is expected.
Created attachment 172362 [details] [review] Bug 38043: Add unit tests for KohaTimes TT filter This adds units tests for the new KohaTimes TT filter. This also corrects a minor issue with a wrong comparitor operation in KohaTimes.pm causing a WARN to be thrown. To test 1. Apply patch 2. prove t/db_dependent/Template/Plugin/KohaTimes.t 3. Verify 5 Tests PASS
Created attachment 172387 [details] [review] Bug 38043: Add unit tests for KohaTimes TT filter This adds units tests for the new KohaTimes TT filter. This also corrects a minor issue with a wrong comparitor operation in KohaTimes.pm causing a WARN to be thrown. To test 1. Apply patch 2. prove t/db_dependent/Template/Plugin/KohaTimes.t 3. Verify 5 Tests PASS
Created attachment 172497 [details] [review] Bug 38043: Add unit tests for KohaTimes TT filter This adds units tests for the new KohaTimes TT filter. This also corrects a minor issue with a wrong comparitor operation in KohaTimes.pm causing a WARN to be thrown. To test 1. Apply patch 2. prove t/db_dependent/Template/Plugin/KohaTimes.t 3. Verify 5 Tests PASS Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
I LOVE tests :)
Pushed for 24.11! Well done everyone, thank you!