[Koha-bugs] [Bug 30030] Test t/db_dependent/Koha/Patrons.t is_going_to_expire fails on U18

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 5 13:31:49 CEST 2022


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

--- Comment #10 from Mason James <mtj at kohaaloha.com> ---
Created attachment 138683
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138683&action=edit
Bug 30030: add 'invalid expiry date' tests, for every timezone

this patch aims to add 'invalid expiry date' tests, for every timezone

to test...

1/ apply patch

2/ run test
root at kohadevbox:/kohadevbox/koha# prove -v t/db_dependent/Koha/Patrons.t
...
    1..368
    ...
    ok 32 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Buenos_Aires
    ok 33 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Catamarca
    ok 34 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Cordoba
    ok 35 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Jujuy
    ok 36 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/La_Rioja
    ok 37 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Mendoza
    ok 38 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Rio_Gallegos
    ok 39 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Salta
    ok 40 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/San_Juan
    ok 41 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/San_Luis
    ok 42 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Tucuman
    ok 43 - On invalid "is going to expire" date, the method should not crash:
America/Argentina/Ushuaia
    ...
All tests successful.
Files=1, Tests=44, 84 wallclock secs ( 0.17 usr  0.07 sys + 58.19 cusr 24.35
csys = 82.78 CPU)
Result: PASS

3/ confirm all 'invalid expiry date' tests pass OK

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list