]> git.koha-community.org Git - koha.git/commit
Bug 31333: (QA follow-up) Move and improve tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 5 Oct 2022 14:53:46 +0000 (11:53 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 5 Oct 2022 19:00:57 +0000 (16:00 -0300)
commitd08cd5965d592073b671e9011ae060294aec786b
tree272a31cee33a8457aeeafe855d53e6b78adca224
parent555c55e8ca70d2cd36049c4b5bd3b79364c2d202
Bug 31333: (QA follow-up) Move and improve tests

This patch moves tests to the right file (singular class name). It also
refactors them a bit, in order to cover more cases, including the
syspref split one.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Patron/Category.t \
           t/db_dependent/Koha/Patron/Categories.t
=> SUCCESS: All good.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Patron/Categories.t
t/db_dependent/Koha/Patron/Category.t