]> git.koha-community.org Git - koha.git/commit
Bug 38418: Make SIP/Transaction.t run on all dateformat values main
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 11 Nov 2024 16:48:51 +0000 (13:48 -0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 13 Nov 2024 16:00:53 +0000 (17:00 +0100)
commit5f5206d0e56de223513ebb2e0ed5f7908a15ff83
treefa10b2c20dbc07be74e71f4b4d601adb87dbca1e
parent479df408fc42d6a226ea023c71dead6d7e37caba
Bug 38418: Make SIP/Transaction.t run on all dateformat values

To test:
1. Change the `dateformat` syspref to any value other than `us`(shows as mm/dd/yyyy)
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/SIP/Transaction.t
=> FAIL: Tests fail because of the resulting string containing an unexpected date format.
3. Repeat 1-2 with other formats
=> FAIL: SAme
4. Choose `us`
5. Repeat 2
=> SUCCESS: It passes
6. Apply this patch
7. Repeat 2
=> SUCCESS: Tests pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/SIP/Transaction.t